Class SqlDatabaseGetResultsInner
- 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.SqlDatabaseGetResultsInner
-
public final class SqlDatabaseGetResultsInner extends ArmResourceProperties
An Azure Cosmos DB SQL database.
-
-
Constructor Summary
Constructors Constructor Description SqlDatabaseGetResultsInner()
-
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.SqlDatabaseGetResultsInnerwithLocation(String location)SqlDatabaseGetResultsInnerwithOptions(SqlDatabaseGetPropertiesOptions options)Set the options property: The options property.SqlDatabaseGetResultsInnerwithResource(SqlDatabaseGetPropertiesResource resource)Set the resource property: The resource property.SqlDatabaseGetResultsInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public SqlDatabaseGetResultsInner withLocation(String location)
- Overrides:
withLocationin classArmResourceProperties
-
withTags
public SqlDatabaseGetResultsInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classArmResourceProperties
-
resource
public SqlDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public SqlDatabaseGetResultsInner withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the SqlDatabaseGetResultsInner object itself.
-
options
public SqlDatabaseGetPropertiesOptions options()
Get the options property: The options property.- Returns:
- the options value.
-
withOptions
public SqlDatabaseGetResultsInner withOptions(SqlDatabaseGetPropertiesOptions options)
Set the options property: The options property.- Parameters:
options- the options value to set.- Returns:
- the SqlDatabaseGetResultsInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-