
com.pulumi.aws.msk.outputs.GetVpcConnectionResult Maven / Gradle / Ivy
// *** 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetVpcConnectionResult {
private String arn;
/**
* @return The authentication type for the client VPC Connection.
*
*/
private String authentication;
/**
* @return The list of subnets in the client VPC.
*
*/
private List clientSubnets;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The security groups attached to the ENIs for the broker nodes.
*
*/
private List securityGroups;
/**
* @return Map of key-value pairs assigned to the VPC Connection.
*
*/
private Map tags;
/**
* @return The Amazon Resource Name (ARN) of the cluster.
*
*/
private String targetClusterArn;
/**
* @return The VPC ID of the remote client.
*
*/
private String vpcId;
private GetVpcConnectionResult() {}
public String arn() {
return this.arn;
}
/**
* @return The authentication type for the client VPC Connection.
*
*/
public String authentication() {
return this.authentication;
}
/**
* @return The list of subnets in the client VPC.
*
*/
public List clientSubnets() {
return this.clientSubnets;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The security groups attached to the ENIs for the broker nodes.
*
*/
public List securityGroups() {
return this.securityGroups;
}
/**
* @return Map of key-value pairs assigned to the VPC Connection.
*
*/
public Map tags() {
return this.tags;
}
/**
* @return The Amazon Resource Name (ARN) of the cluster.
*
*/
public String targetClusterArn() {
return this.targetClusterArn;
}
/**
* @return The VPC ID of the remote client.
*
*/
public String vpcId() {
return this.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpcConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String authentication;
private List clientSubnets;
private String id;
private List securityGroups;
private Map tags;
private String targetClusterArn;
private String vpcId;
public Builder() {}
public Builder(GetVpcConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.authentication = defaults.authentication;
this.clientSubnets = defaults.clientSubnets;
this.id = defaults.id;
this.securityGroups = defaults.securityGroups;
this.tags = defaults.tags;
this.targetClusterArn = defaults.targetClusterArn;
this.vpcId = defaults.vpcId;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder authentication(String authentication) {
if (authentication == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "authentication");
}
this.authentication = authentication;
return this;
}
@CustomType.Setter
public Builder clientSubnets(List clientSubnets) {
if (clientSubnets == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "clientSubnets");
}
this.clientSubnets = clientSubnets;
return this;
}
public Builder clientSubnets(String... clientSubnets) {
return clientSubnets(List.of(clientSubnets));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder securityGroups(List securityGroups) {
if (securityGroups == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "securityGroups");
}
this.securityGroups = securityGroups;
return this;
}
public Builder securityGroups(String... securityGroups) {
return securityGroups(List.of(securityGroups));
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "tags");
}
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder targetClusterArn(String targetClusterArn) {
if (targetClusterArn == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "targetClusterArn");
}
this.targetClusterArn = targetClusterArn;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetVpcConnectionResult", "vpcId");
}
this.vpcId = vpcId;
return this;
}
public GetVpcConnectionResult build() {
final var _resultValue = new GetVpcConnectionResult();
_resultValue.arn = arn;
_resultValue.authentication = authentication;
_resultValue.clientSubnets = clientSubnets;
_resultValue.id = id;
_resultValue.securityGroups = securityGroups;
_resultValue.tags = tags;
_resultValue.targetClusterArn = targetClusterArn;
_resultValue.vpcId = vpcId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy