ThroughputSettingsGetPropertiesResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ThroughputSettingsResource - com.
azure. resourcemanager. cosmos. models. ThroughputSettingsGetPropertiesResource
- com.
- com.
public final class ThroughputSettingsGetPropertiesResource
extends ThroughputSettingsResource
The ThroughputSettingsGetPropertiesResource model.
Constructor Summary
Constructor | Description |
---|---|
ThroughputSettingsGetPropertiesResource() |
Creates an instance of Throughput |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A system generated property representing the resource etag required for optimistic concurrency control. |
static
Throughput |
fromJson(JsonReader jsonReader)
Reads an instance of Throughput |
String |
instantMaximumThroughput()
Get the instant |
String |
minimumThroughput()
Get the minimum |
String |
offerReplacePending()
Get the offer |
String |
rid()
Get the rid property: A system generated property. |
String |
softAllowedMaximumThroughput()
Get the soft |
Json |
toJson(JsonWriter jsonWriter) |
Float |
ts()
Get the ts property: A system generated property that denotes the last updated timestamp of the resource. |
void |
validate()
Validates the instance. |
Throughput |
withAutoscaleSettings(AutoscaleSettingsResource autoscaleSettings)
Set the autoscale |
Throughput |
withThroughput(Integer throughput)
Set the throughput property: Value of the Cosmos DB resource throughput. |
Methods inherited from ThroughputSettingsResource
Methods inherited from java.lang.Object
Constructor Details
ThroughputSettingsGetPropertiesResource
public ThroughputSettingsGetPropertiesResource()
Creates an instance of ThroughputSettingsGetPropertiesResource class.
Method Details
etag
public String etag()
Get the etag property: A system generated property representing the resource etag required for optimistic concurrency control.
Returns:
fromJson
public static ThroughputSettingsGetPropertiesResource fromJson(JsonReader jsonReader)
Reads an instance of ThroughputSettingsGetPropertiesResource from the JsonReader.
Parameters:
Returns:
Throws:
instantMaximumThroughput
public String instantMaximumThroughput()
Get the instantMaximumThroughput property: The offer throughput value to instantly scale up without triggering splits.
Overrides:
ThroughputSettingsGetPropertiesResource.instantMaximumThroughput()Returns:
minimumThroughput
public String minimumThroughput()
Get the minimumThroughput property: The minimum throughput of the resource.
Overrides:
ThroughputSettingsGetPropertiesResource.minimumThroughput()Returns:
offerReplacePending
public String offerReplacePending()
Get the offerReplacePending property: The throughput replace is pending.
Overrides:
ThroughputSettingsGetPropertiesResource.offerReplacePending()Returns:
rid
public String rid()
Get the rid property: A system generated property. A unique identifier.
Returns:
softAllowedMaximumThroughput
public String softAllowedMaximumThroughput()
Get the softAllowedMaximumThroughput property: The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified.
Overrides:
ThroughputSettingsGetPropertiesResource.softAllowedMaximumThroughput()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ThroughputSettingsGetPropertiesResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
ts
public Float ts()
Get the ts property: A system generated property that denotes the last updated timestamp of the resource.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
ThroughputSettingsGetPropertiesResource.validate()withAutoscaleSettings
public ThroughputSettingsGetPropertiesResource withAutoscaleSettings(AutoscaleSettingsResource autoscaleSettings)
Set the autoscaleSettings property: Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings is required, but not both.
Overrides:
ThroughputSettingsGetPropertiesResource.withAutoscaleSettings(AutoscaleSettingsResource autoscaleSettings)Parameters:
withThroughput
public ThroughputSettingsGetPropertiesResource withThroughput(Integer throughput)
Set the throughput property: Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both.
Overrides:
ThroughputSettingsGetPropertiesResource.withThroughput(Integer throughput)Parameters:
Applies to
Azure SDK for Java