Class SqlDatabaseGetProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.SqlDatabaseGetProperties
-
public final class SqlDatabaseGetProperties extends Object
The properties of an Azure Cosmos DB SQL database.
-
-
Constructor Summary
Constructors Constructor Description SqlDatabaseGetProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlDatabaseGetPropertiesOptionsoptions()Get the options property: The options property.SqlDatabaseGetPropertiesResourceresource()Get the resource property: The resource property.voidvalidate()Validates the instance.SqlDatabaseGetPropertieswithOptions(SqlDatabaseGetPropertiesOptions options)Set the options property: The options property.SqlDatabaseGetPropertieswithResource(SqlDatabaseGetPropertiesResource resource)Set the resource property: The resource property.
-
-
-
Method Detail
-
resource
public SqlDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public SqlDatabaseGetProperties withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the SqlDatabaseGetProperties object itself.
-
options
public SqlDatabaseGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public SqlDatabaseGetProperties withOptions(SqlDatabaseGetPropertiesOptions options)
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.
-
-