com.pulumi.aws.finspace.outputs.KxClusterVpcConfiguration 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.
The newest version!
// *** 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.finspace.outputs;
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 KxClusterVpcConfiguration {
/**
* @return IP address type for cluster network configuration parameters. The following type is available: IP_V4 - IP address version 4.
*
*/
private String ipAddressType;
/**
* @return Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
* * ` subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
*
*/
private List securityGroupIds;
private List subnetIds;
/**
* @return Identifier of the VPC endpoint
*
*/
private String vpcId;
private KxClusterVpcConfiguration() {}
/**
* @return IP address type for cluster network configuration parameters. The following type is available: IP_V4 - IP address version 4.
*
*/
public String ipAddressType() {
return this.ipAddressType;
}
/**
* @return Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
* * ` subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
*
*/
public List securityGroupIds() {
return this.securityGroupIds;
}
public List subnetIds() {
return this.subnetIds;
}
/**
* @return Identifier of the VPC endpoint
*
*/
public String vpcId() {
return this.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KxClusterVpcConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String ipAddressType;
private List securityGroupIds;
private List subnetIds;
private String vpcId;
public Builder() {}
public Builder(KxClusterVpcConfiguration defaults) {
Objects.requireNonNull(defaults);
this.ipAddressType = defaults.ipAddressType;
this.securityGroupIds = defaults.securityGroupIds;
this.subnetIds = defaults.subnetIds;
this.vpcId = defaults.vpcId;
}
@CustomType.Setter
public Builder ipAddressType(String ipAddressType) {
if (ipAddressType == null) {
throw new MissingRequiredPropertyException("KxClusterVpcConfiguration", "ipAddressType");
}
this.ipAddressType = ipAddressType;
return this;
}
@CustomType.Setter
public Builder securityGroupIds(List securityGroupIds) {
if (securityGroupIds == null) {
throw new MissingRequiredPropertyException("KxClusterVpcConfiguration", "securityGroupIds");
}
this.securityGroupIds = securityGroupIds;
return this;
}
public Builder securityGroupIds(String... securityGroupIds) {
return securityGroupIds(List.of(securityGroupIds));
}
@CustomType.Setter
public Builder subnetIds(List subnetIds) {
if (subnetIds == null) {
throw new MissingRequiredPropertyException("KxClusterVpcConfiguration", "subnetIds");
}
this.subnetIds = subnetIds;
return this;
}
public Builder subnetIds(String... subnetIds) {
return subnetIds(List.of(subnetIds));
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("KxClusterVpcConfiguration", "vpcId");
}
this.vpcId = vpcId;
return this;
}
public KxClusterVpcConfiguration build() {
final var _resultValue = new KxClusterVpcConfiguration();
_resultValue.ipAddressType = ipAddressType;
_resultValue.securityGroupIds = securityGroupIds;
_resultValue.subnetIds = subnetIds;
_resultValue.vpcId = vpcId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy