com.pulumi.aws.connect.outputs.GetQuickConnectResult 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.connect.outputs;
import com.pulumi.aws.connect.outputs.GetQuickConnectQuickConnectConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetQuickConnectResult {
/**
* @return ARN of the Quick Connect.
*
*/
private String arn;
/**
* @return Description of the Quick Connect.
*
*/
private String description;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String instanceId;
private String name;
/**
* @return A block that defines the configuration information for the Quick Connect: `quick_connect_type` and one of `phone_config`, `queue_config`, `user_config` . The Quick Connect Config block is documented below.
*
*/
private List quickConnectConfigs;
/**
* @return Identifier for the Quick Connect.
*
*/
private String quickConnectId;
/**
* @return Map of tags to assign to the Quick Connect.
*
*/
private Map tags;
private GetQuickConnectResult() {}
/**
* @return ARN of the Quick Connect.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the Quick Connect.
*
*/
public String description() {
return this.description;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String instanceId() {
return this.instanceId;
}
public String name() {
return this.name;
}
/**
* @return A block that defines the configuration information for the Quick Connect: `quick_connect_type` and one of `phone_config`, `queue_config`, `user_config` . The Quick Connect Config block is documented below.
*
*/
public List quickConnectConfigs() {
return this.quickConnectConfigs;
}
/**
* @return Identifier for the Quick Connect.
*
*/
public String quickConnectId() {
return this.quickConnectId;
}
/**
* @return Map of tags to assign to the Quick Connect.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQuickConnectResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String id;
private String instanceId;
private String name;
private List quickConnectConfigs;
private String quickConnectId;
private Map tags;
public Builder() {}
public Builder(GetQuickConnectResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.id = defaults.id;
this.instanceId = defaults.instanceId;
this.name = defaults.name;
this.quickConnectConfigs = defaults.quickConnectConfigs;
this.quickConnectId = defaults.quickConnectId;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "instanceId");
}
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder quickConnectConfigs(List quickConnectConfigs) {
if (quickConnectConfigs == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "quickConnectConfigs");
}
this.quickConnectConfigs = quickConnectConfigs;
return this;
}
public Builder quickConnectConfigs(GetQuickConnectQuickConnectConfig... quickConnectConfigs) {
return quickConnectConfigs(List.of(quickConnectConfigs));
}
@CustomType.Setter
public Builder quickConnectId(String quickConnectId) {
if (quickConnectId == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "quickConnectId");
}
this.quickConnectId = quickConnectId;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetQuickConnectResult", "tags");
}
this.tags = tags;
return this;
}
public GetQuickConnectResult build() {
final var _resultValue = new GetQuickConnectResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.instanceId = instanceId;
_resultValue.name = name;
_resultValue.quickConnectConfigs = quickConnectConfigs;
_resultValue.quickConnectId = quickConnectId;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy