SqlDatabaseGetResultsInner Class
- 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
- com.
- com.
- com.
- com.
public final class SqlDatabaseGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB SQL database.
Constructor Summary
Constructor | Description |
---|---|
SqlDatabaseGetResultsInner() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Sql |
options()
Get the options property: The options property. |
Sql |
resource()
Get the resource property: The resource property. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Sql |
withLocation(String location) |
Sql |
withOptions(SqlDatabaseGetPropertiesOptions options)
Set the options property: The options property. |
Sql |
withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property. |
Sql |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
SqlDatabaseGetResultsInner
public SqlDatabaseGetResultsInner()
Creates an instance of SqlDatabaseGetResultsInner class.
Method Details
fromJson
public static SqlDatabaseGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of SqlDatabaseGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlDatabaseGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlDatabaseGetResultsInner.name()Returns:
options
public SqlDatabaseGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public SqlDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlDatabaseGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlDatabaseGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlDatabaseGetResultsInner.validate()withLocation
public SqlDatabaseGetResultsInner withLocation(String location)
Overrides:
SqlDatabaseGetResultsInner.withLocation(String location)Parameters:
withOptions
public SqlDatabaseGetResultsInner withOptions(SqlDatabaseGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public SqlDatabaseGetResultsInner withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public SqlDatabaseGetResultsInner withTags(Map
Overrides:
SqlDatabaseGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java