All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.redshiftserverless.inputs.WorkgroupEndpointArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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.redshiftserverless.inputs;

import com.pulumi.aws.redshiftserverless.inputs.WorkgroupEndpointVpcEndpointArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WorkgroupEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkgroupEndpointArgs Empty = new WorkgroupEndpointArgs();

    /**
     * The DNS address of the VPC endpoint.
     * 
     */
    @Import(name="address")
    private @Nullable Output address;

    /**
     * @return The DNS address of the VPC endpoint.
     * 
     */
    public Optional> address() {
        return Optional.ofNullable(this.address);
    }

    /**
     * The port number on which the cluster accepts incoming connections.
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return The port number on which the cluster accepts incoming connections.
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    /**
     * The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
     * 
     */
    @Import(name="vpcEndpoints")
    private @Nullable Output> vpcEndpoints;

    /**
     * @return The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
     * 
     */
    public Optional>> vpcEndpoints() {
        return Optional.ofNullable(this.vpcEndpoints);
    }

    private WorkgroupEndpointArgs() {}

    private WorkgroupEndpointArgs(WorkgroupEndpointArgs $) {
        this.address = $.address;
        this.port = $.port;
        this.vpcEndpoints = $.vpcEndpoints;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(WorkgroupEndpointArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private WorkgroupEndpointArgs $;

        public Builder() {
            $ = new WorkgroupEndpointArgs();
        }

        public Builder(WorkgroupEndpointArgs defaults) {
            $ = new WorkgroupEndpointArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param address The DNS address of the VPC endpoint.
         * 
         * @return builder
         * 
         */
        public Builder address(@Nullable Output address) {
            $.address = address;
            return this;
        }

        /**
         * @param address The DNS address of the VPC endpoint.
         * 
         * @return builder
         * 
         */
        public Builder address(String address) {
            return address(Output.of(address));
        }

        /**
         * @param port The port number on which the cluster accepts incoming connections.
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port The port number on which the cluster accepts incoming connections.
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        /**
         * @param vpcEndpoints The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpoints(@Nullable Output> vpcEndpoints) {
            $.vpcEndpoints = vpcEndpoints;
            return this;
        }

        /**
         * @param vpcEndpoints The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpoints(List vpcEndpoints) {
            return vpcEndpoints(Output.of(vpcEndpoints));
        }

        /**
         * @param vpcEndpoints The VPC endpoint or the Redshift Serverless workgroup. See `VPC Endpoint` below.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpoints(WorkgroupEndpointVpcEndpointArgs... vpcEndpoints) {
            return vpcEndpoints(List.of(vpcEndpoints));
        }

        public WorkgroupEndpointArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy