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

com.pulumi.aws.ecs.inputs.TaskDefinitionProxyConfigurationArgs Maven / Gradle / Ivy

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

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


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

    public static final TaskDefinitionProxyConfigurationArgs Empty = new TaskDefinitionProxyConfigurationArgs();

    /**
     * Name of the container that will serve as the App Mesh proxy.
     * 
     */
    @Import(name="containerName", required=true)
    private Output containerName;

    /**
     * @return Name of the container that will serve as the App Mesh proxy.
     * 
     */
    public Output containerName() {
        return this.containerName;
    }

    /**
     * Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
     * 
     */
    @Import(name="properties")
    private @Nullable Output> properties;

    /**
     * @return Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
     * 
     */
    public Optional>> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private TaskDefinitionProxyConfigurationArgs() {}

    private TaskDefinitionProxyConfigurationArgs(TaskDefinitionProxyConfigurationArgs $) {
        this.containerName = $.containerName;
        this.properties = $.properties;
        this.type = $.type;
    }

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

    public static final class Builder {
        private TaskDefinitionProxyConfigurationArgs $;

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

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

        /**
         * @param containerName Name of the container that will serve as the App Mesh proxy.
         * 
         * @return builder
         * 
         */
        public Builder containerName(Output containerName) {
            $.containerName = containerName;
            return this;
        }

        /**
         * @param containerName Name of the container that will serve as the App Mesh proxy.
         * 
         * @return builder
         * 
         */
        public Builder containerName(String containerName) {
            return containerName(Output.of(containerName));
        }

        /**
         * @param properties Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output> properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified a key-value mapping.
         * 
         * @return builder
         * 
         */
        public Builder properties(Map properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param type Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Proxy type. The default value is `APPMESH`. The only supported value is `APPMESH`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public TaskDefinitionProxyConfigurationArgs build() {
            if ($.containerName == null) {
                throw new MissingRequiredPropertyException("TaskDefinitionProxyConfigurationArgs", "containerName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy