Class SqlDatabaseGetProperties
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.SqlDatabaseGetProperties
The properties of an Azure Cosmos DB SQL database.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlDatabaseGetProperties class. -
Method Summary
Modifier and TypeMethodDescriptionoptions()Get the options property: The options property.resource()Get the resource property: The resource property.voidvalidate()Validates the instance.Set the options property: The options property.withResource(SqlDatabaseGetPropertiesResource resource) Set the resource property: The resource property.
-
Constructor Details
-
SqlDatabaseGetProperties
public SqlDatabaseGetProperties()Creates an instance of SqlDatabaseGetProperties class.
-
-
Method Details
-
resource
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the SqlDatabaseGetProperties object itself.
-
options
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the SqlDatabaseGetProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-