com.pulumi.aws.chime.VoiceConnectorTerminationCredentialsArgs 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.chime;
import com.pulumi.aws.chime.inputs.VoiceConnectorTerminationCredentialsCredentialArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class VoiceConnectorTerminationCredentialsArgs extends com.pulumi.resources.ResourceArgs {
public static final VoiceConnectorTerminationCredentialsArgs Empty = new VoiceConnectorTerminationCredentialsArgs();
/**
* List of termination SIP credentials.
*
*/
@Import(name="credentials", required=true)
private Output> credentials;
/**
* @return List of termination SIP credentials.
*
*/
public Output> credentials() {
return this.credentials;
}
/**
* Amazon Chime Voice Connector ID.
*
*/
@Import(name="voiceConnectorId", required=true)
private Output voiceConnectorId;
/**
* @return Amazon Chime Voice Connector ID.
*
*/
public Output voiceConnectorId() {
return this.voiceConnectorId;
}
private VoiceConnectorTerminationCredentialsArgs() {}
private VoiceConnectorTerminationCredentialsArgs(VoiceConnectorTerminationCredentialsArgs $) {
this.credentials = $.credentials;
this.voiceConnectorId = $.voiceConnectorId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VoiceConnectorTerminationCredentialsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VoiceConnectorTerminationCredentialsArgs $;
public Builder() {
$ = new VoiceConnectorTerminationCredentialsArgs();
}
public Builder(VoiceConnectorTerminationCredentialsArgs defaults) {
$ = new VoiceConnectorTerminationCredentialsArgs(Objects.requireNonNull(defaults));
}
/**
* @param credentials List of termination SIP credentials.
*
* @return builder
*
*/
public Builder credentials(Output> credentials) {
$.credentials = credentials;
return this;
}
/**
* @param credentials List of termination SIP credentials.
*
* @return builder
*
*/
public Builder credentials(List credentials) {
return credentials(Output.of(credentials));
}
/**
* @param credentials List of termination SIP credentials.
*
* @return builder
*
*/
public Builder credentials(VoiceConnectorTerminationCredentialsCredentialArgs... credentials) {
return credentials(List.of(credentials));
}
/**
* @param voiceConnectorId Amazon Chime Voice Connector ID.
*
* @return builder
*
*/
public Builder voiceConnectorId(Output voiceConnectorId) {
$.voiceConnectorId = voiceConnectorId;
return this;
}
/**
* @param voiceConnectorId Amazon Chime Voice Connector ID.
*
* @return builder
*
*/
public Builder voiceConnectorId(String voiceConnectorId) {
return voiceConnectorId(Output.of(voiceConnectorId));
}
public VoiceConnectorTerminationCredentialsArgs build() {
if ($.credentials == null) {
throw new MissingRequiredPropertyException("VoiceConnectorTerminationCredentialsArgs", "credentials");
}
if ($.voiceConnectorId == null) {
throw new MissingRequiredPropertyException("VoiceConnectorTerminationCredentialsArgs", "voiceConnectorId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy