com.pulumi.aws.elasticsearch.outputs.GetDomainClusterConfigZoneAwarenessConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.elasticsearch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetDomainClusterConfigZoneAwarenessConfig {
/**
* @return Number of availability zones used.
*
*/
private Integer availabilityZoneCount;
private GetDomainClusterConfigZoneAwarenessConfig() {}
/**
* @return Number of availability zones used.
*
*/
public Integer availabilityZoneCount() {
return this.availabilityZoneCount;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainClusterConfigZoneAwarenessConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer availabilityZoneCount;
public Builder() {}
public Builder(GetDomainClusterConfigZoneAwarenessConfig defaults) {
Objects.requireNonNull(defaults);
this.availabilityZoneCount = defaults.availabilityZoneCount;
}
@CustomType.Setter
public Builder availabilityZoneCount(Integer availabilityZoneCount) {
if (availabilityZoneCount == null) {
throw new MissingRequiredPropertyException("GetDomainClusterConfigZoneAwarenessConfig", "availabilityZoneCount");
}
this.availabilityZoneCount = availabilityZoneCount;
return this;
}
public GetDomainClusterConfigZoneAwarenessConfig build() {
final var _resultValue = new GetDomainClusterConfigZoneAwarenessConfig();
_resultValue.availabilityZoneCount = availabilityZoneCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy