Class MongoDBCollectionGetResultsInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.cosmos.models.ArmResourceProperties
-
- com.azure.resourcemanager.cosmos.fluent.models.MongoDBCollectionGetResultsInner
-
public final class MongoDBCollectionGetResultsInner extends ArmResourceProperties
An Azure Cosmos DB MongoDB collection.
-
-
Constructor Summary
Constructors Constructor Description MongoDBCollectionGetResultsInner()
-
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.MongoDBCollectionGetResultsInnerwithLocation(String location)MongoDBCollectionGetResultsInnerwithOptions(MongoDBCollectionGetPropertiesOptions options)Set the options property: The options property.MongoDBCollectionGetResultsInnerwithResource(MongoDBCollectionGetPropertiesResource resource)Set the resource property: The resource property.MongoDBCollectionGetResultsInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public MongoDBCollectionGetResultsInner withLocation(String location)
- Overrides:
withLocationin classArmResourceProperties
-
withTags
public MongoDBCollectionGetResultsInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classArmResourceProperties
-
resource
public MongoDBCollectionGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public MongoDBCollectionGetResultsInner withResource(MongoDBCollectionGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the MongoDBCollectionGetResultsInner object itself.
-
options
public MongoDBCollectionGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public MongoDBCollectionGetResultsInner withOptions(MongoDBCollectionGetPropertiesOptions options)
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the MongoDBCollectionGetResultsInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-