Class ThroughputSettingsUpdateParameters
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cosmos.models.ArmResourceProperties
com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters
Parameters to update Cosmos DB resource throughput.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ThroughputSettingsUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The standard JSON format of a resource throughput.voidvalidate()Validates the instance.withLocation(String location) withResource(ThroughputSettingsResource resource) Set the resource property: The standard JSON format of a resource throughput.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ThroughputSettingsUpdateParameters
public ThroughputSettingsUpdateParameters()Creates an instance of ThroughputSettingsUpdateParameters class.
-
-
Method Details
-
withLocation
- Overrides:
withLocationin classArmResourceProperties
-
withTags
- Overrides:
withTagsin classArmResourceProperties
-
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 ThroughputSettingsUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-