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

com.pulumi.aws.codestarconnections.inputs.HostVpcConfigurationArgs 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.codestarconnections.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final HostVpcConfigurationArgs Empty = new HostVpcConfigurationArgs();

    /**
     * ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    @Import(name="securityGroupIds", required=true)
    private Output> securityGroupIds;

    /**
     * @return ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    public Output> securityGroupIds() {
        return this.securityGroupIds;
    }

    /**
     * The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    @Import(name="subnetIds", required=true)
    private Output> subnetIds;

    /**
     * @return The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    public Output> subnetIds() {
        return this.subnetIds;
    }

    /**
     * The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
     * 
     */
    @Import(name="tlsCertificate")
    private @Nullable Output tlsCertificate;

    /**
     * @return The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
     * 
     */
    public Optional> tlsCertificate() {
        return Optional.ofNullable(this.tlsCertificate);
    }

    /**
     * The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    @Import(name="vpcId", required=true)
    private Output vpcId;

    /**
     * @return The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
     * 
     */
    public Output vpcId() {
        return this.vpcId;
    }

    private HostVpcConfigurationArgs() {}

    private HostVpcConfigurationArgs(HostVpcConfigurationArgs $) {
        this.securityGroupIds = $.securityGroupIds;
        this.subnetIds = $.subnetIds;
        this.tlsCertificate = $.tlsCertificate;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private HostVpcConfigurationArgs $;

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

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

        /**
         * @param securityGroupIds ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(Output> securityGroupIds) {
            $.securityGroupIds = securityGroupIds;
            return this;
        }

        /**
         * @param securityGroupIds ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(List securityGroupIds) {
            return securityGroupIds(Output.of(securityGroupIds));
        }

        /**
         * @param securityGroupIds ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }

        /**
         * @param subnetIds The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(Output> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        /**
         * @param tlsCertificate The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder tlsCertificate(@Nullable Output tlsCertificate) {
            $.tlsCertificate = tlsCertificate;
            return this;
        }

        /**
         * @param tlsCertificate The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder tlsCertificate(String tlsCertificate) {
            return tlsCertificate(Output.of(tlsCertificate));
        }

        /**
         * @param vpcId The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public HostVpcConfigurationArgs build() {
            if ($.securityGroupIds == null) {
                throw new MissingRequiredPropertyException("HostVpcConfigurationArgs", "securityGroupIds");
            }
            if ($.subnetIds == null) {
                throw new MissingRequiredPropertyException("HostVpcConfigurationArgs", "subnetIds");
            }
            if ($.vpcId == null) {
                throw new MissingRequiredPropertyException("HostVpcConfigurationArgs", "vpcId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy