ThroughputSettingsUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. ThroughputSettingsUpdateProperties
- com.
Implements
public final class ThroughputSettingsUpdateProperties
implements JsonSerializable<ThroughputSettingsUpdateProperties>
Properties to update Azure Cosmos DB resource throughput.
Constructor Summary
| Constructor | Description |
|---|---|
| ThroughputSettingsUpdateProperties() |
Creates an instance of Throughput |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Throughput |
fromJson(JsonReader jsonReader)
Reads an instance of Throughput |
|
Throughput |
resource()
Get the resource property: The standard JSON format of a resource throughput. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Throughput |
withResource(ThroughputSettingsResource resource)
Set the resource property: The standard JSON format of a resource throughput. |
Methods inherited from java.lang.Object
Constructor Details
ThroughputSettingsUpdateProperties
public ThroughputSettingsUpdateProperties()
Creates an instance of ThroughputSettingsUpdateProperties class.
Method Details
fromJson
public static ThroughputSettingsUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ThroughputSettingsUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
resource
public ThroughputSettingsResource resource()
Get the resource property: The standard JSON format of a resource throughput.
Returns:
toJson
validate
public void validate()
Validates the instance.
withResource
public ThroughputSettingsUpdateProperties withResource(ThroughputSettingsResource resource)
Set the resource property: The standard JSON format of a resource throughput.
Parameters:
Returns: