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

com.pulumi.aws.medialive.inputs.ChannelVpcArgs 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.medialive.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 ChannelVpcArgs extends com.pulumi.resources.ResourceArgs {

    public static final ChannelVpcArgs Empty = new ChannelVpcArgs();

    @Import(name="availabilityZones")
    private @Nullable Output> availabilityZones;

    public Optional>> availabilityZones() {
        return Optional.ofNullable(this.availabilityZones);
    }

    @Import(name="networkInterfaceIds")
    private @Nullable Output> networkInterfaceIds;

    public Optional>> networkInterfaceIds() {
        return Optional.ofNullable(this.networkInterfaceIds);
    }

    /**
     * List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
     * 
     */
    @Import(name="publicAddressAllocationIds", required=true)
    private Output> publicAddressAllocationIds;

    /**
     * @return List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
     * 
     */
    public Output> publicAddressAllocationIds() {
        return this.publicAddressAllocationIds;
    }

    /**
     * A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
     * 
     */
    @Import(name="securityGroupIds")
    private @Nullable Output> securityGroupIds;

    /**
     * @return A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
     * 
     */
    public Optional>> securityGroupIds() {
        return Optional.ofNullable(this.securityGroupIds);
    }

    /**
     * A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
     * 
     */
    @Import(name="subnetIds", required=true)
    private Output> subnetIds;

    /**
     * @return A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
     * 
     */
    public Output> subnetIds() {
        return this.subnetIds;
    }

    private ChannelVpcArgs() {}

    private ChannelVpcArgs(ChannelVpcArgs $) {
        this.availabilityZones = $.availabilityZones;
        this.networkInterfaceIds = $.networkInterfaceIds;
        this.publicAddressAllocationIds = $.publicAddressAllocationIds;
        this.securityGroupIds = $.securityGroupIds;
        this.subnetIds = $.subnetIds;
    }

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

    public static final class Builder {
        private ChannelVpcArgs $;

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

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

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

        public Builder availabilityZones(List availabilityZones) {
            return availabilityZones(Output.of(availabilityZones));
        }

        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }

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

        public Builder networkInterfaceIds(List networkInterfaceIds) {
            return networkInterfaceIds(Output.of(networkInterfaceIds));
        }

        public Builder networkInterfaceIds(String... networkInterfaceIds) {
            return networkInterfaceIds(List.of(networkInterfaceIds));
        }

        /**
         * @param publicAddressAllocationIds List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
         * 
         * @return builder
         * 
         */
        public Builder publicAddressAllocationIds(Output> publicAddressAllocationIds) {
            $.publicAddressAllocationIds = publicAddressAllocationIds;
            return this;
        }

        /**
         * @param publicAddressAllocationIds List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
         * 
         * @return builder
         * 
         */
        public Builder publicAddressAllocationIds(List publicAddressAllocationIds) {
            return publicAddressAllocationIds(Output.of(publicAddressAllocationIds));
        }

        /**
         * @param publicAddressAllocationIds List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
         * 
         * @return builder
         * 
         */
        public Builder publicAddressAllocationIds(String... publicAddressAllocationIds) {
            return publicAddressAllocationIds(List.of(publicAddressAllocationIds));
        }

        /**
         * @param securityGroupIds A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(@Nullable Output> securityGroupIds) {
            $.securityGroupIds = securityGroupIds;
            return this;
        }

        /**
         * @param securityGroupIds A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(List securityGroupIds) {
            return securityGroupIds(Output.of(securityGroupIds));
        }

        /**
         * @param securityGroupIds A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
         * 
         * @return builder
         * 
         */
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }

        /**
         * @param subnetIds A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(Output> subnetIds) {
            $.subnetIds = subnetIds;
            return this;
        }

        /**
         * @param subnetIds A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(List subnetIds) {
            return subnetIds(Output.of(subnetIds));
        }

        /**
         * @param subnetIds A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
         * 
         * @return builder
         * 
         */
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }

        public ChannelVpcArgs build() {
            if ($.publicAddressAllocationIds == null) {
                throw new MissingRequiredPropertyException("ChannelVpcArgs", "publicAddressAllocationIds");
            }
            if ($.subnetIds == null) {
                throw new MissingRequiredPropertyException("ChannelVpcArgs", "subnetIds");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy