com.pulumi.azurenative.documentdb.outputs.CassandraKeyspaceGetPropertiesResponseOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.documentdb.outputs;
import com.pulumi.azurenative.documentdb.outputs.AutoscaleSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CassandraKeyspaceGetPropertiesResponseOptions {
/**
* @return Specifies the Autoscale settings.
*
*/
private @Nullable AutoscaleSettingsResponse autoscaleSettings;
/**
* @return Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
*
*/
private @Nullable Integer throughput;
private CassandraKeyspaceGetPropertiesResponseOptions() {}
/**
* @return Specifies the Autoscale settings.
*
*/
public Optional autoscaleSettings() {
return Optional.ofNullable(this.autoscaleSettings);
}
/**
* @return Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
*
*/
public Optional throughput() {
return Optional.ofNullable(this.throughput);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CassandraKeyspaceGetPropertiesResponseOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AutoscaleSettingsResponse autoscaleSettings;
private @Nullable Integer throughput;
public Builder() {}
public Builder(CassandraKeyspaceGetPropertiesResponseOptions defaults) {
Objects.requireNonNull(defaults);
this.autoscaleSettings = defaults.autoscaleSettings;
this.throughput = defaults.throughput;
}
@CustomType.Setter
public Builder autoscaleSettings(@Nullable AutoscaleSettingsResponse autoscaleSettings) {
this.autoscaleSettings = autoscaleSettings;
return this;
}
@CustomType.Setter
public Builder throughput(@Nullable Integer throughput) {
this.throughput = throughput;
return this;
}
public CassandraKeyspaceGetPropertiesResponseOptions build() {
final var _resultValue = new CassandraKeyspaceGetPropertiesResponseOptions();
_resultValue.autoscaleSettings = autoscaleSettings;
_resultValue.throughput = throughput;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy