Class MongoDBDatabaseGetResultsInner
- 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.MongoDBDatabaseGetResultsInner
-
public final class MongoDBDatabaseGetResultsInner extends ArmResourceProperties
An Azure Cosmos DB MongoDB database.
-
-
Constructor Summary
Constructors Constructor Description MongoDBDatabaseGetResultsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoDBDatabaseGetPropertiesOptionsoptions()Get the options property: The options property.MongoDBDatabaseGetPropertiesResourceresource()Get the resource property: The resource property.voidvalidate()Validates the instance.MongoDBDatabaseGetResultsInnerwithLocation(String location)MongoDBDatabaseGetResultsInnerwithOptions(MongoDBDatabaseGetPropertiesOptions options)Set the options property: The options property.MongoDBDatabaseGetResultsInnerwithResource(MongoDBDatabaseGetPropertiesResource resource)Set the resource property: The resource property.MongoDBDatabaseGetResultsInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public MongoDBDatabaseGetResultsInner withLocation(String location)
- Overrides:
withLocationin classArmResourceProperties
-
withTags
public MongoDBDatabaseGetResultsInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classArmResourceProperties
-
resource
public MongoDBDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public MongoDBDatabaseGetResultsInner withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the MongoDBDatabaseGetResultsInner object itself.
-
options
public MongoDBDatabaseGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public MongoDBDatabaseGetResultsInner withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the MongoDBDatabaseGetResultsInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-