Class TableResource
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.TableResource
-
- Direct Known Subclasses:
TableGetPropertiesResource
public class TableResource extends Object
Cosmos DB table resource object.
-
-
Constructor Summary
Constructors Constructor Description TableResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Name of the Cosmos DB table.voidvalidate()Validates the instance.TableResourcewithId(String id)Set the id property: Name of the Cosmos DB table.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Name of the Cosmos DB table.- Returns:
- the id value.
-
withId
public TableResource withId(String id)
Set the id property: Name of the Cosmos DB table.- Parameters:
id- the id value to set.- Returns:
- the TableResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-