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

com.pulumi.aws.pipes.outputs.PipeTargetParametersEcsTaskParametersNetworkConfiguration 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.66.3
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.pipes.outputs;

import com.pulumi.aws.pipes.outputs.PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PipeTargetParametersEcsTaskParametersNetworkConfiguration {
    /**
     * @return Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode. Detailed below.
     * 
     */
    private @Nullable PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfiguration awsVpcConfiguration;

    private PipeTargetParametersEcsTaskParametersNetworkConfiguration() {}
    /**
     * @return Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode. Detailed below.
     * 
     */
    public Optional awsVpcConfiguration() {
        return Optional.ofNullable(this.awsVpcConfiguration);
    }

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

    public static Builder builder(PipeTargetParametersEcsTaskParametersNetworkConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfiguration awsVpcConfiguration;
        public Builder() {}
        public Builder(PipeTargetParametersEcsTaskParametersNetworkConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.awsVpcConfiguration = defaults.awsVpcConfiguration;
        }

        @CustomType.Setter
        public Builder awsVpcConfiguration(@Nullable PipeTargetParametersEcsTaskParametersNetworkConfigurationAwsVpcConfiguration awsVpcConfiguration) {

            this.awsVpcConfiguration = awsVpcConfiguration;
            return this;
        }
        public PipeTargetParametersEcsTaskParametersNetworkConfiguration build() {
            final var _resultValue = new PipeTargetParametersEcsTaskParametersNetworkConfiguration();
            _resultValue.awsVpcConfiguration = awsVpcConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy