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

com.pulumi.awsx.ecs.inputs.TaskDefinitionSecretArgs Maven / Gradle / Ivy

There is a newer version: 2.19.0-alpha.1731525651
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.awsx.ecs.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final TaskDefinitionSecretArgs Empty = new TaskDefinitionSecretArgs();

    @Import(name="name", required=true)
    private Output name;

    public Output name() {
        return this.name;
    }

    @Import(name="valueFrom", required=true)
    private Output valueFrom;

    public Output valueFrom() {
        return this.valueFrom;
    }

    private TaskDefinitionSecretArgs() {}

    private TaskDefinitionSecretArgs(TaskDefinitionSecretArgs $) {
        this.name = $.name;
        this.valueFrom = $.valueFrom;
    }

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

    public static final class Builder {
        private TaskDefinitionSecretArgs $;

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

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

        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder valueFrom(Output valueFrom) {
            $.valueFrom = valueFrom;
            return this;
        }

        public Builder valueFrom(String valueFrom) {
            return valueFrom(Output.of(valueFrom));
        }

        public TaskDefinitionSecretArgs build() {
            $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null");
            $.valueFrom = Objects.requireNonNull($.valueFrom, "expected parameter 'valueFrom' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy