com.pulumi.alicloud.amqp.outputs.GetQueuesQueue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.amqp.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetQueuesQueue {
/**
* @return The attributes for the Queue.
*
*/
private Map attributes;
/**
* @return Specifies whether the Auto Delete attribute is configured.
*
*/
private Boolean autoDeleteState;
/**
* @return CreateTime.
*
*/
private String createTime;
/**
* @return Specifies whether the queue is an exclusive queue.
*
*/
private Boolean exclusiveState;
/**
* @return The ID of the Queue. Its value is same as Queue Name.
*
*/
private String id;
/**
* @return The ID of the instance.
*
*/
private String instanceId;
/**
* @return The last consume time.
*
*/
private String lastConsumeTime;
/**
* @return The queue name.
*
*/
private String queueName;
/**
* @return The name of the virtual host.
*
*/
private String virtualHostName;
private GetQueuesQueue() {}
/**
* @return The attributes for the Queue.
*
*/
public Map attributes() {
return this.attributes;
}
/**
* @return Specifies whether the Auto Delete attribute is configured.
*
*/
public Boolean autoDeleteState() {
return this.autoDeleteState;
}
/**
* @return CreateTime.
*
*/
public String createTime() {
return this.createTime;
}
/**
* @return Specifies whether the queue is an exclusive queue.
*
*/
public Boolean exclusiveState() {
return this.exclusiveState;
}
/**
* @return The ID of the Queue. Its value is same as Queue Name.
*
*/
public String id() {
return this.id;
}
/**
* @return The ID of the instance.
*
*/
public String instanceId() {
return this.instanceId;
}
/**
* @return The last consume time.
*
*/
public String lastConsumeTime() {
return this.lastConsumeTime;
}
/**
* @return The queue name.
*
*/
public String queueName() {
return this.queueName;
}
/**
* @return The name of the virtual host.
*
*/
public String virtualHostName() {
return this.virtualHostName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQueuesQueue defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map attributes;
private Boolean autoDeleteState;
private String createTime;
private Boolean exclusiveState;
private String id;
private String instanceId;
private String lastConsumeTime;
private String queueName;
private String virtualHostName;
public Builder() {}
public Builder(GetQueuesQueue defaults) {
Objects.requireNonNull(defaults);
this.attributes = defaults.attributes;
this.autoDeleteState = defaults.autoDeleteState;
this.createTime = defaults.createTime;
this.exclusiveState = defaults.exclusiveState;
this.id = defaults.id;
this.instanceId = defaults.instanceId;
this.lastConsumeTime = defaults.lastConsumeTime;
this.queueName = defaults.queueName;
this.virtualHostName = defaults.virtualHostName;
}
@CustomType.Setter
public Builder attributes(Map attributes) {
if (attributes == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "attributes");
}
this.attributes = attributes;
return this;
}
@CustomType.Setter
public Builder autoDeleteState(Boolean autoDeleteState) {
if (autoDeleteState == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "autoDeleteState");
}
this.autoDeleteState = autoDeleteState;
return this;
}
@CustomType.Setter
public Builder createTime(String createTime) {
if (createTime == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "createTime");
}
this.createTime = createTime;
return this;
}
@CustomType.Setter
public Builder exclusiveState(Boolean exclusiveState) {
if (exclusiveState == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "exclusiveState");
}
this.exclusiveState = exclusiveState;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "instanceId");
}
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder lastConsumeTime(String lastConsumeTime) {
if (lastConsumeTime == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "lastConsumeTime");
}
this.lastConsumeTime = lastConsumeTime;
return this;
}
@CustomType.Setter
public Builder queueName(String queueName) {
if (queueName == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "queueName");
}
this.queueName = queueName;
return this;
}
@CustomType.Setter
public Builder virtualHostName(String virtualHostName) {
if (virtualHostName == null) {
throw new MissingRequiredPropertyException("GetQueuesQueue", "virtualHostName");
}
this.virtualHostName = virtualHostName;
return this;
}
public GetQueuesQueue build() {
final var _resultValue = new GetQueuesQueue();
_resultValue.attributes = attributes;
_resultValue.autoDeleteState = autoDeleteState;
_resultValue.createTime = createTime;
_resultValue.exclusiveState = exclusiveState;
_resultValue.id = id;
_resultValue.instanceId = instanceId;
_resultValue.lastConsumeTime = lastConsumeTime;
_resultValue.queueName = queueName;
_resultValue.virtualHostName = virtualHostName;
return _resultValue;
}
}
}