Class ThroughputSettingsGetResultsInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cosmos.models.ArmResourceProperties
com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
An Azure Cosmos DB resource throughput.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ThroughputSettingsGetResultsInner class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The resource property.voidvalidate()Validates the instance.withLocation(String location) Set the resource property: The resource property.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJsonMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ThroughputSettingsGetResultsInner
public ThroughputSettingsGetResultsInner()Creates an instance of ThroughputSettingsGetResultsInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocationin classArmResourceProperties
-
withTags
- Overrides:
withTagsin classArmResourceProperties
-
resource
Get the resource property: The resource property.- Returns:
- the resource value.
-
withResource
public ThroughputSettingsGetResultsInner withResource(ThroughputSettingsGetPropertiesResource resource) Set the resource property: The resource property.- Parameters:
resource- the resource value to set.- Returns:
- the ThroughputSettingsGetResultsInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classArmResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-