
com.pulumi.aws.connect.outputs.GetQueueResult Maven / Gradle / Ivy
// *** 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.connect.outputs;
import com.pulumi.aws.connect.outputs.GetQueueOutboundCallerConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetQueueResult {
/**
* @return ARN of the Queue.
*
*/
private String arn;
/**
* @return Description of the Queue.
*
*/
private String description;
/**
* @return Specifies the identifier of the Hours of Operation.
*
*/
private String hoursOfOperationId;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String instanceId;
/**
* @return Maximum number of contacts that can be in the queue before it is considered full. Minimum value of 0.
*
*/
private Integer maxContacts;
private String name;
/**
* @return A block that defines the outbound caller ID name, number, and outbound whisper flow. The Outbound Caller Config block is documented below.
*
*/
private List outboundCallerConfigs;
/**
* @return Identifier for the Queue.
*
*/
private String queueId;
/**
* @return Description of the Queue. Values are `ENABLED` or `DISABLED`.
*
*/
private String status;
/**
* @return Map of tags assigned to the Queue.
*
*/
private Map tags;
private GetQueueResult() {}
/**
* @return ARN of the Queue.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the Queue.
*
*/
public String description() {
return this.description;
}
/**
* @return Specifies the identifier of the Hours of Operation.
*
*/
public String hoursOfOperationId() {
return this.hoursOfOperationId;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String instanceId() {
return this.instanceId;
}
/**
* @return Maximum number of contacts that can be in the queue before it is considered full. Minimum value of 0.
*
*/
public Integer maxContacts() {
return this.maxContacts;
}
public String name() {
return this.name;
}
/**
* @return A block that defines the outbound caller ID name, number, and outbound whisper flow. The Outbound Caller Config block is documented below.
*
*/
public List outboundCallerConfigs() {
return this.outboundCallerConfigs;
}
/**
* @return Identifier for the Queue.
*
*/
public String queueId() {
return this.queueId;
}
/**
* @return Description of the Queue. Values are `ENABLED` or `DISABLED`.
*
*/
public String status() {
return this.status;
}
/**
* @return Map of tags assigned to the Queue.
*
*/
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 description;
private String hoursOfOperationId;
private String id;
private String instanceId;
private Integer maxContacts;
private String name;
private List outboundCallerConfigs;
private String queueId;
private String status;
private Map tags;
public Builder() {}
public Builder(GetQueueResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.hoursOfOperationId = defaults.hoursOfOperationId;
this.id = defaults.id;
this.instanceId = defaults.instanceId;
this.maxContacts = defaults.maxContacts;
this.name = defaults.name;
this.outboundCallerConfigs = defaults.outboundCallerConfigs;
this.queueId = defaults.queueId;
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 description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder hoursOfOperationId(String hoursOfOperationId) {
if (hoursOfOperationId == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "hoursOfOperationId");
}
this.hoursOfOperationId = hoursOfOperationId;
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 instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "instanceId");
}
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder maxContacts(Integer maxContacts) {
if (maxContacts == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "maxContacts");
}
this.maxContacts = maxContacts;
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 outboundCallerConfigs(List outboundCallerConfigs) {
if (outboundCallerConfigs == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "outboundCallerConfigs");
}
this.outboundCallerConfigs = outboundCallerConfigs;
return this;
}
public Builder outboundCallerConfigs(GetQueueOutboundCallerConfig... outboundCallerConfigs) {
return outboundCallerConfigs(List.of(outboundCallerConfigs));
}
@CustomType.Setter
public Builder queueId(String queueId) {
if (queueId == null) {
throw new MissingRequiredPropertyException("GetQueueResult", "queueId");
}
this.queueId = queueId;
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.description = description;
_resultValue.hoursOfOperationId = hoursOfOperationId;
_resultValue.id = id;
_resultValue.instanceId = instanceId;
_resultValue.maxContacts = maxContacts;
_resultValue.name = name;
_resultValue.outboundCallerConfigs = outboundCallerConfigs;
_resultValue.queueId = queueId;
_resultValue.status = status;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy