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
-
public final class ThroughputSettingsUpdateParameters extends ArmResourceProperties
Parameters to update Cosmos DB resource throughput.
-
-
Constructor Summary
Constructors Constructor Description ThroughputSettingsUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThroughputSettingsResourceresource()Get the resource property: The standard JSON format of a resource throughput.voidvalidate()Validates the instance.ThroughputSettingsUpdateParameterswithLocation(String location)ThroughputSettingsUpdateParameterswithResource(ThroughputSettingsResource resource)Set the resource property: The standard JSON format of a resource throughput.ThroughputSettingsUpdateParameterswithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public ThroughputSettingsUpdateParameters withLocation(String location)
- Overrides:
withLocationin classArmResourceProperties
-
withTags
public ThroughputSettingsUpdateParameters withTags(Map<String,String> tags)
- Overrides:
withTagsin classArmResourceProperties
-
resource
public ThroughputSettingsResource resource()
Get the resource property: The standard JSON format of a resource throughput.- Returns:
- the resource value.
-
withResource
public ThroughputSettingsUpdateParameters withResource(ThroughputSettingsResource resource)
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.
-
-