Class TableResource
java.lang.Object
com.azure.resourcemanager.cosmos.models.TableResource
- Direct Known Subclasses:
TableGetPropertiesResource
Cosmos DB table resource object.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TableResource
public TableResource()Creates an instance of TableResource class.
-
-
Method Details
-
id
Get the id property: Name of the Cosmos DB table.- Returns:
- the id value.
-
withId
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.
-