// *** 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.appstream.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 FleetVpcConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final FleetVpcConfigArgs Empty = new FleetVpcConfigArgs();

    /**
     * Identifiers of the security groups for the fleet or image builder.
     * 
     */
    @Import(name="securityGroupIds")
    private @Nullable Output<List<String>> securityGroupIds;

    /**
     * @return Identifiers of the security groups for the fleet or image builder.
     * 
     */
    public Optional<Output<List<String>>> securityGroupIds() {
        return Optional.ofNullable(this.securityGroupIds);
    }

    /**
     * Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
     * 
     */
    @Import(name="subnetIds")
    private @Nullable Output<List<String>> subnetIds;

    /**
     * @return Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
     * 
     */
    public Optional<Output<List<String>>> subnetIds() {
        return Optional.ofNullable(this.subnetIds);
    }

    private FleetVpcConfigArgs() {}

    private FleetVpcConfigArgs(FleetVpcConfigArgs $) {
        this.securityGroupIds = $.securityGroupIds;
        this.subnetIds = $.subnetIds;
    }

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

    public static final class Builder {
        private FleetVpcConfigArgs $;

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

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

        /**
         * @param securityGroupIds Identifiers of the security groups for the fleet or image builder.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(@Nullable Output<List<String>> securityGroupIds) {
            $.securityGroupIds = securityGroupIds;
            return this;
        }

        /**
         * @param securityGroupIds Identifiers of the security groups for the fleet or image builder.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(List<String> securityGroupIds) {
            return securityGroupIds(Output.of(securityGroupIds));
        }

        /**
         * @param securityGroupIds Identifiers of the security groups for the fleet or image builder.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }

        /**
         * @param subnetIds Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(@Nullable Output<List<String>> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List<String> subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        public FleetVpcConfigArgs build() {
            return $;
        }
    }

}
