com.pulumi.aws.mediaconvert.outputs.GetQueueResult 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.mediaconvert.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetQueueResult {
/**
* @return The Arn of the queue.
*
*/
private String arn;
private String id;
/**
* @return The same as `id`.
*
*/
private String name;
/**
* @return The status of the queue.
*
*/
private String status;
/**
* @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
*/
private Map tags;
private GetQueueResult() {}
/**
* @return The Arn of the queue.
*
*/
public String arn() {
return this.arn;
}
public String id() {
return this.id;
}
/**
* @return The same as `id`.
*
*/
public String name() {
return this.name;
}
/**
* @return The status of the queue.
*
*/
public String status() {
return this.status;
}
/**
* @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQueueResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String id;
private String name;
private String status;
private Map tags;
public Builder() {}
public Builder(GetQueueResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.id = defaults.id;
this.name = defaults.name;
this.status = defaults.status;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "tags");
}
this.tags = tags;
return this;
}
public GetQueueResult build() {
final var _resultValue = new GetQueueResult();
_resultValue.arn = arn;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.status = status;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy