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

com.pulumi.aws.ecs.inputs.GetTaskDefinitionPlainArgs 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.72.0
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.ecs.inputs;

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


public final class GetTaskDefinitionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTaskDefinitionPlainArgs Empty = new GetTaskDefinitionPlainArgs();

    /**
     * Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
     * 
     */
    @Import(name="taskDefinition", required=true)
    private String taskDefinition;

    /**
     * @return Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
     * 
     */
    public String taskDefinition() {
        return this.taskDefinition;
    }

    private GetTaskDefinitionPlainArgs() {}

    private GetTaskDefinitionPlainArgs(GetTaskDefinitionPlainArgs $) {
        this.taskDefinition = $.taskDefinition;
    }

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

    public static final class Builder {
        private GetTaskDefinitionPlainArgs $;

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

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

        /**
         * @param taskDefinition Family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, the ARN of the task definition to access to.
         * 
         * @return builder
         * 
         */
        public Builder taskDefinition(String taskDefinition) {
            $.taskDefinition = taskDefinition;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy