// *** 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.kinesisanalyticsv2.inputs;

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


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

    public static final ApplicationApplicationConfigurationVpcConfigurationArgs Empty = new ApplicationApplicationConfigurationVpcConfigurationArgs();

    /**
     * The Security Group IDs used by the VPC configuration.
     * 
     */
    @Import(name="securityGroupIds", required=true)
    private Output<List<String>> securityGroupIds;

    /**
     * @return The Security Group IDs used by the VPC configuration.
     * 
     */
    public Output<List<String>> securityGroupIds() {
        return this.securityGroupIds;
    }

    /**
     * The Subnet IDs used by the VPC configuration.
     * 
     */
    @Import(name="subnetIds", required=true)
    private Output<List<String>> subnetIds;

    /**
     * @return The Subnet IDs used by the VPC configuration.
     * 
     */
    public Output<List<String>> subnetIds() {
        return this.subnetIds;
    }

    @Import(name="vpcConfigurationId")
    private @Nullable Output<String> vpcConfigurationId;

    public Optional<Output<String>> vpcConfigurationId() {
        return Optional.ofNullable(this.vpcConfigurationId);
    }

    @Import(name="vpcId")
    private @Nullable Output<String> vpcId;

    public Optional<Output<String>> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private ApplicationApplicationConfigurationVpcConfigurationArgs() {}

    private ApplicationApplicationConfigurationVpcConfigurationArgs(ApplicationApplicationConfigurationVpcConfigurationArgs $) {
        this.securityGroupIds = $.securityGroupIds;
        this.subnetIds = $.subnetIds;
        this.vpcConfigurationId = $.vpcConfigurationId;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private ApplicationApplicationConfigurationVpcConfigurationArgs $;

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

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

        /**
         * @param securityGroupIds The Security Group IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(Output<List<String>> securityGroupIds) {
            $.securityGroupIds = securityGroupIds;
            return this;
        }

        /**
         * @param securityGroupIds The Security Group IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(List<String> securityGroupIds) {
            return securityGroupIds(Output.of(securityGroupIds));
        }

        /**
         * @param securityGroupIds The Security Group IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }

        /**
         * @param subnetIds The Subnet IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(Output<List<String>> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds The Subnet IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List<String> subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds The Subnet IDs used by the VPC configuration.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        public Builder vpcConfigurationId(@Nullable Output<String> vpcConfigurationId) {
            $.vpcConfigurationId = vpcConfigurationId;
            return this;
        }

        public Builder vpcConfigurationId(String vpcConfigurationId) {
            return vpcConfigurationId(Output.of(vpcConfigurationId));
        }

        public Builder vpcId(@Nullable Output<String> vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public ApplicationApplicationConfigurationVpcConfigurationArgs build() {
            $.securityGroupIds = Objects.requireNonNull($.securityGroupIds, "expected parameter 'securityGroupIds' to be non-null");
            $.subnetIds = Objects.requireNonNull($.subnetIds, "expected parameter 'subnetIds' to be non-null");
            return $;
        }
    }

}
