Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.cosmosdb.implementation; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.cosmosdb.ARMResourceProperties;
An Azure Cosmos DB resource throughput.
/** * An Azure Cosmos DB resource throughput. */
@JsonFlatten public class ThroughputSettingsGetResultsInner extends ARMResourceProperties {
Value of the Cosmos DB resource throughput.
/** * Value of the Cosmos DB resource throughput. */
@JsonProperty(value = "properties.throughput", required = true) private int throughput;
The minimum throughput of the resource.
/** * The minimum throughput of the resource. */
@JsonProperty(value = "properties.minimumThroughput", access = JsonProperty.Access.WRITE_ONLY) private String minimumThroughput;
The throughput replace is pending.
/** * The throughput replace is pending. */
@JsonProperty(value = "properties.offerReplacePending", access = JsonProperty.Access.WRITE_ONLY) private String offerReplacePending;
Get value of the Cosmos DB resource throughput.
Returns:the throughput value
/** * Get value of the Cosmos DB resource throughput. * * @return the throughput value */
public int throughput() { return this.throughput; }
Set value of the Cosmos DB resource throughput.
Params:
  • throughput – the throughput value to set
Returns:the ThroughputSettingsGetResultsInner object itself.
/** * Set value of the Cosmos DB resource throughput. * * @param throughput the throughput value to set * @return the ThroughputSettingsGetResultsInner object itself. */
public ThroughputSettingsGetResultsInner withThroughput(int throughput) { this.throughput = throughput; return this; }
Get the minimum throughput of the resource.
Returns:the minimumThroughput value
/** * Get the minimum throughput of the resource. * * @return the minimumThroughput value */
public String minimumThroughput() { return this.minimumThroughput; }
Get the throughput replace is pending.
Returns:the offerReplacePending value
/** * Get the throughput replace is pending. * * @return the offerReplacePending value */
public String offerReplacePending() { return this.offerReplacePending; } }