Class MongoDBDatabaseGetProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.MongoDBDatabaseGetProperties
-
public final class MongoDBDatabaseGetProperties extends Object
The properties of an Azure Cosmos DB MongoDB database.
-
-
Constructor Summary
Constructors Constructor Description MongoDBDatabaseGetProperties()
-
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.MongoDBDatabaseGetPropertieswithOptions(MongoDBDatabaseGetPropertiesOptions options)Set the options property: The options property.MongoDBDatabaseGetPropertieswithResource(MongoDBDatabaseGetPropertiesResource resource)Set the resource property: The resource property.
-
-
-
Method Detail
-
resource
public MongoDBDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public MongoDBDatabaseGetProperties withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the MongoDBDatabaseGetProperties object itself.
-
options
public MongoDBDatabaseGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public MongoDBDatabaseGetProperties withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the MongoDBDatabaseGetProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-