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

com.pulumi.aws.appstream.outputs.ImageBuilderVpcConfig Maven / Gradle / Ivy

Go to download

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

The 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.appstream.outputs;

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

@CustomType
public final class ImageBuilderVpcConfig {
    /**
     * @return Identifiers of the security groups for the image builder or image builder.
     * 
     */
    private @Nullable List securityGroupIds;
    /**
     * @return Identifier of the subnet to which a network interface is attached from the image builder instance.
     * 
     */
    private @Nullable List subnetIds;

    private ImageBuilderVpcConfig() {}
    /**
     * @return Identifiers of the security groups for the image builder or image builder.
     * 
     */
    public List securityGroupIds() {
        return this.securityGroupIds == null ? List.of() : this.securityGroupIds;
    }
    /**
     * @return Identifier of the subnet to which a network interface is attached from the image builder instance.
     * 
     */
    public List subnetIds() {
        return this.subnetIds == null ? List.of() : this.subnetIds;
    }

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

    public static Builder builder(ImageBuilderVpcConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List securityGroupIds;
        private @Nullable List subnetIds;
        public Builder() {}
        public Builder(ImageBuilderVpcConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.securityGroupIds = defaults.securityGroupIds;
    	      this.subnetIds = defaults.subnetIds;
        }

        @CustomType.Setter
        public Builder securityGroupIds(@Nullable List securityGroupIds) {

            this.securityGroupIds = securityGroupIds;
            return this;
        }
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }
        @CustomType.Setter
        public Builder subnetIds(@Nullable List subnetIds) {

            this.subnetIds = subnetIds;
            return this;
        }
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }
        public ImageBuilderVpcConfig build() {
            final var _resultValue = new ImageBuilderVpcConfig();
            _resultValue.securityGroupIds = securityGroupIds;
            _resultValue.subnetIds = subnetIds;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy