com.pulumi.aws.connect.inputs.QuickConnectQuickConnectConfigPhoneConfigArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class QuickConnectQuickConnectConfigPhoneConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final QuickConnectQuickConnectConfigPhoneConfigArgs Empty = new QuickConnectQuickConnectConfigPhoneConfigArgs();
/**
* Specifies the phone number in in E.164 format.
*
*/
@Import(name="phoneNumber", required=true)
private Output phoneNumber;
/**
* @return Specifies the phone number in in E.164 format.
*
*/
public Output phoneNumber() {
return this.phoneNumber;
}
private QuickConnectQuickConnectConfigPhoneConfigArgs() {}
private QuickConnectQuickConnectConfigPhoneConfigArgs(QuickConnectQuickConnectConfigPhoneConfigArgs $) {
this.phoneNumber = $.phoneNumber;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(QuickConnectQuickConnectConfigPhoneConfigArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private QuickConnectQuickConnectConfigPhoneConfigArgs $;
public Builder() {
$ = new QuickConnectQuickConnectConfigPhoneConfigArgs();
}
public Builder(QuickConnectQuickConnectConfigPhoneConfigArgs defaults) {
$ = new QuickConnectQuickConnectConfigPhoneConfigArgs(Objects.requireNonNull(defaults));
}
/**
* @param phoneNumber Specifies the phone number in in E.164 format.
*
* @return builder
*
*/
public Builder phoneNumber(Output phoneNumber) {
$.phoneNumber = phoneNumber;
return this;
}
/**
* @param phoneNumber Specifies the phone number in in E.164 format.
*
* @return builder
*
*/
public Builder phoneNumber(String phoneNumber) {
return phoneNumber(Output.of(phoneNumber));
}
public QuickConnectQuickConnectConfigPhoneConfigArgs build() {
if ($.phoneNumber == null) {
throw new MissingRequiredPropertyException("QuickConnectQuickConnectConfigPhoneConfigArgs", "phoneNumber");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy