Class ThroughputSettingsUpdateProperties
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsUpdateProperties
Properties to update Azure Cosmos DB resource throughput.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ThroughputSettingsUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The standard JSON format of a resource throughput.voidvalidate()Validates the instance.withResource(ThroughputSettingsResource resource) Set the resource property: The standard JSON format of a resource throughput.
-
Constructor Details
-
ThroughputSettingsUpdateProperties
public ThroughputSettingsUpdateProperties()Creates an instance of ThroughputSettingsUpdateProperties class.
-
-
Method Details
-
resource
Get the resource property: The standard JSON format of a resource throughput.- Returns:
- the resource value.
-
withResource
Set the resource property: The standard JSON format of a resource throughput.- Parameters:
resource- the resource value to set.- Returns:
- the ThroughputSettingsUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-