Class ThroughputSettingsUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsUpdateProperties
-
public final class ThroughputSettingsUpdateProperties extends Object
Properties to update Azure Cosmos DB resource throughput.
-
-
Constructor Summary
Constructors Constructor Description ThroughputSettingsUpdateProperties()
-
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.ThroughputSettingsUpdatePropertieswithResource(ThroughputSettingsResource resource)Set the resource property: The standard JSON format of a resource throughput.
-
-
-
Method Detail
-
resource
public ThroughputSettingsResource resource()
Get the resource property: The standard JSON format of a resource throughput.- Returns:
- the resource value.
-
withResource
public ThroughputSettingsUpdateProperties withResource(ThroughputSettingsResource resource)
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.
-
-