
com.pulumi.aws.ecs.inputs.GetTaskDefinitionPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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