Class MongoDBCollectionGetProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.MongoDBCollectionGetProperties
-
public final class MongoDBCollectionGetProperties extends Object
The properties of an Azure Cosmos DB MongoDB collection.
-
-
Constructor Summary
Constructors Constructor Description MongoDBCollectionGetProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoDBCollectionGetPropertiesOptionsoptions()Get the options property: The options property.MongoDBCollectionGetPropertiesResourceresource()Get the resource property: The resource property.voidvalidate()Validates the instance.MongoDBCollectionGetPropertieswithOptions(MongoDBCollectionGetPropertiesOptions options)Set the options property: The options property.MongoDBCollectionGetPropertieswithResource(MongoDBCollectionGetPropertiesResource resource)Set the resource property: The resource property.
-
-
-
Method Detail
-
resource
public MongoDBCollectionGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public MongoDBCollectionGetProperties withResource(MongoDBCollectionGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the MongoDBCollectionGetProperties object itself.
-
options
public MongoDBCollectionGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public MongoDBCollectionGetProperties withOptions(MongoDBCollectionGetPropertiesOptions options)
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the MongoDBCollectionGetProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-