SqlContainerGetResultsInner 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. SqlContainerGetResultsInner
- com.
- com.
- com.
- com.
public final class SqlContainerGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB container.
Constructor Summary
Constructor | Description |
---|---|
SqlContainerGetResultsInner() |
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(SqlContainerGetPropertiesOptions options)
Set the options property: The options property. |
Sql |
withResource(SqlContainerGetPropertiesResource 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
SqlContainerGetResultsInner
public SqlContainerGetResultsInner()
Creates an instance of SqlContainerGetResultsInner class.
Method Details
fromJson
public static SqlContainerGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of SqlContainerGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlContainerGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlContainerGetResultsInner.name()Returns:
options
public SqlContainerGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public SqlContainerGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlContainerGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlContainerGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlContainerGetResultsInner.validate()withLocation
public SqlContainerGetResultsInner withLocation(String location)
Overrides:
SqlContainerGetResultsInner.withLocation(String location)Parameters:
withOptions
public SqlContainerGetResultsInner withOptions(SqlContainerGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public SqlContainerGetResultsInner withResource(SqlContainerGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public SqlContainerGetResultsInner withTags(Map
Overrides:
SqlContainerGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java