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

com.pulumi.azurenative.awsconnector.inputs.VpcConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.awsconnector.inputs;

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


/**
 * Definition of VpcConfig
 * 
 */
public final class VpcConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final VpcConfigArgs Empty = new VpcConfigArgs();

    /**
     * Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
     * 
     */
    @Import(name="ipv6AllowedForDualStack")
    private @Nullable Output ipv6AllowedForDualStack;

    /**
     * @return Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
     * 
     */
    public Optional> ipv6AllowedForDualStack() {
        return Optional.ofNullable(this.ipv6AllowedForDualStack);
    }

    /**
     * A list of VPC security group IDs.
     * 
     */
    @Import(name="securityGroupIds")
    private @Nullable Output> securityGroupIds;

    /**
     * @return A list of VPC security group IDs.
     * 
     */
    public Optional>> securityGroupIds() {
        return Optional.ofNullable(this.securityGroupIds);
    }

    /**
     * A list of VPC subnet IDs.
     * 
     */
    @Import(name="subnetIds")
    private @Nullable Output> subnetIds;

    /**
     * @return A list of VPC subnet IDs.
     * 
     */
    public Optional>> subnetIds() {
        return Optional.ofNullable(this.subnetIds);
    }

    /**
     * <p>A list of one or more subnet IDs in your Amazon VPC.</p>
     * 
     */
    @Import(name="subnets")
    private @Nullable Output> subnets;

    /**
     * @return <p>A list of one or more subnet IDs in your Amazon VPC.</p>
     * 
     */
    public Optional>> subnets() {
        return Optional.ofNullable(this.subnets);
    }

    /**
     * <p>The ID of the Amazon VPC.</p>
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return <p>The ID of the Amazon VPC.</p>
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private VpcConfigArgs() {}

    private VpcConfigArgs(VpcConfigArgs $) {
        this.ipv6AllowedForDualStack = $.ipv6AllowedForDualStack;
        this.securityGroupIds = $.securityGroupIds;
        this.subnetIds = $.subnetIds;
        this.subnets = $.subnets;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private VpcConfigArgs $;

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

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

        /**
         * @param ipv6AllowedForDualStack Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
         * 
         * @return builder
         * 
         */
        public Builder ipv6AllowedForDualStack(@Nullable Output ipv6AllowedForDualStack) {
            $.ipv6AllowedForDualStack = ipv6AllowedForDualStack;
            return this;
        }

        /**
         * @param ipv6AllowedForDualStack Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
         * 
         * @return builder
         * 
         */
        public Builder ipv6AllowedForDualStack(Boolean ipv6AllowedForDualStack) {
            return ipv6AllowedForDualStack(Output.of(ipv6AllowedForDualStack));
        }

        /**
         * @param securityGroupIds A list of VPC security group IDs.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(@Nullable Output> securityGroupIds) {
            $.securityGroupIds = securityGroupIds;
            return this;
        }

        /**
         * @param securityGroupIds A list of VPC security group IDs.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(List securityGroupIds) {
            return securityGroupIds(Output.of(securityGroupIds));
        }

        /**
         * @param securityGroupIds A list of VPC security group IDs.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }

        /**
         * @param subnetIds A list of VPC subnet IDs.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(@Nullable Output> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds A list of VPC subnet IDs.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds A list of VPC subnet IDs.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        /**
         * @param subnets <p>A list of one or more subnet IDs in your Amazon VPC.</p>
         * 
         * @return builder
         * 
         */
        public Builder subnets(@Nullable Output> subnets) {
            $.subnets = subnets;
            return this;
        }

        /**
         * @param subnets <p>A list of one or more subnet IDs in your Amazon VPC.</p>
         * 
         * @return builder
         * 
         */
        public Builder subnets(List subnets) {
            return subnets(Output.of(subnets));
        }

        /**
         * @param subnets <p>A list of one or more subnet IDs in your Amazon VPC.</p>
         * 
         * @return builder
         * 
         */
        public Builder subnets(String... subnets) {
            return subnets(List.of(subnets));
        }

        /**
         * @param vpcId <p>The ID of the Amazon VPC.</p>
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId <p>The ID of the Amazon VPC.</p>
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public VpcConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy