com.pulumi.aws.redshiftserverless.outputs.GetWorkgroupEndpointVpcEndpoint 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.redshiftserverless.outputs;
import com.pulumi.aws.redshiftserverless.outputs.GetWorkgroupEndpointVpcEndpointNetworkInterface;
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 GetWorkgroupEndpointVpcEndpoint {
/**
* @return The network interfaces of the endpoint.. See `Network Interface` below.
*
*/
private List networkInterfaces;
/**
* @return The DNS address of the VPC endpoint.
*
*/
private String vpcEndpointId;
/**
* @return The port that Amazon Redshift Serverless listens on.
*
*/
private String vpcId;
private GetWorkgroupEndpointVpcEndpoint() {}
/**
* @return The network interfaces of the endpoint.. See `Network Interface` below.
*
*/
public List networkInterfaces() {
return this.networkInterfaces;
}
/**
* @return The DNS address of the VPC endpoint.
*
*/
public String vpcEndpointId() {
return this.vpcEndpointId;
}
/**
* @return The port that Amazon Redshift Serverless listens on.
*
*/
public String vpcId() {
return this.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkgroupEndpointVpcEndpoint defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List networkInterfaces;
private String vpcEndpointId;
private String vpcId;
public Builder() {}
public Builder(GetWorkgroupEndpointVpcEndpoint defaults) {
Objects.requireNonNull(defaults);
this.networkInterfaces = defaults.networkInterfaces;
this.vpcEndpointId = defaults.vpcEndpointId;
this.vpcId = defaults.vpcId;
}
@CustomType.Setter
public Builder networkInterfaces(List networkInterfaces) {
if (networkInterfaces == null) {
throw new MissingRequiredPropertyException("GetWorkgroupEndpointVpcEndpoint", "networkInterfaces");
}
this.networkInterfaces = networkInterfaces;
return this;
}
public Builder networkInterfaces(GetWorkgroupEndpointVpcEndpointNetworkInterface... networkInterfaces) {
return networkInterfaces(List.of(networkInterfaces));
}
@CustomType.Setter
public Builder vpcEndpointId(String vpcEndpointId) {
if (vpcEndpointId == null) {
throw new MissingRequiredPropertyException("GetWorkgroupEndpointVpcEndpoint", "vpcEndpointId");
}
this.vpcEndpointId = vpcEndpointId;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetWorkgroupEndpointVpcEndpoint", "vpcId");
}
this.vpcId = vpcId;
return this;
}
public GetWorkgroupEndpointVpcEndpoint build() {
final var _resultValue = new GetWorkgroupEndpointVpcEndpoint();
_resultValue.networkInterfaces = networkInterfaces;
_resultValue.vpcEndpointId = vpcEndpointId;
_resultValue.vpcId = vpcId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy