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