com.pulumi.aws.msk.outputs.GetClusterBrokerNodeGroupInfo 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.msk.outputs;
import com.pulumi.aws.msk.outputs.GetClusterBrokerNodeGroupInfoConnectivityInfo;
import com.pulumi.aws.msk.outputs.GetClusterBrokerNodeGroupInfoStorageInfo;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetClusterBrokerNodeGroupInfo {
private String azDistribution;
private List clientSubnets;
private List connectivityInfos;
private String instanceType;
private List securityGroups;
private List storageInfos;
private GetClusterBrokerNodeGroupInfo() {}
public String azDistribution() {
return this.azDistribution;
}
public List clientSubnets() {
return this.clientSubnets;
}
public List connectivityInfos() {
return this.connectivityInfos;
}
public String instanceType() {
return this.instanceType;
}
public List securityGroups() {
return this.securityGroups;
}
public List storageInfos() {
return this.storageInfos;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClusterBrokerNodeGroupInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String azDistribution;
private List clientSubnets;
private List connectivityInfos;
private String instanceType;
private List securityGroups;
private List storageInfos;
public Builder() {}
public Builder(GetClusterBrokerNodeGroupInfo defaults) {
Objects.requireNonNull(defaults);
this.azDistribution = defaults.azDistribution;
this.clientSubnets = defaults.clientSubnets;
this.connectivityInfos = defaults.connectivityInfos;
this.instanceType = defaults.instanceType;
this.securityGroups = defaults.securityGroups;
this.storageInfos = defaults.storageInfos;
}
@CustomType.Setter
public Builder azDistribution(String azDistribution) {
if (azDistribution == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "azDistribution");
}
this.azDistribution = azDistribution;
return this;
}
@CustomType.Setter
public Builder clientSubnets(List clientSubnets) {
if (clientSubnets == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "clientSubnets");
}
this.clientSubnets = clientSubnets;
return this;
}
public Builder clientSubnets(String... clientSubnets) {
return clientSubnets(List.of(clientSubnets));
}
@CustomType.Setter
public Builder connectivityInfos(List connectivityInfos) {
if (connectivityInfos == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "connectivityInfos");
}
this.connectivityInfos = connectivityInfos;
return this;
}
public Builder connectivityInfos(GetClusterBrokerNodeGroupInfoConnectivityInfo... connectivityInfos) {
return connectivityInfos(List.of(connectivityInfos));
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder securityGroups(List securityGroups) {
if (securityGroups == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "securityGroups");
}
this.securityGroups = securityGroups;
return this;
}
public Builder securityGroups(String... securityGroups) {
return securityGroups(List.of(securityGroups));
}
@CustomType.Setter
public Builder storageInfos(List storageInfos) {
if (storageInfos == null) {
throw new MissingRequiredPropertyException("GetClusterBrokerNodeGroupInfo", "storageInfos");
}
this.storageInfos = storageInfos;
return this;
}
public Builder storageInfos(GetClusterBrokerNodeGroupInfoStorageInfo... storageInfos) {
return storageInfos(List.of(storageInfos));
}
public GetClusterBrokerNodeGroupInfo build() {
final var _resultValue = new GetClusterBrokerNodeGroupInfo();
_resultValue.azDistribution = azDistribution;
_resultValue.clientSubnets = clientSubnets;
_resultValue.connectivityInfos = connectivityInfos;
_resultValue.instanceType = instanceType;
_resultValue.securityGroups = securityGroups;
_resultValue.storageInfos = storageInfos;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy