All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.chime.inputs.VoiceConnectorTerminationCredentialsCredentialArgs 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.chime.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 VoiceConnectorTerminationCredentialsCredentialArgs extends com.pulumi.resources.ResourceArgs {

    public static final VoiceConnectorTerminationCredentialsCredentialArgs Empty = new VoiceConnectorTerminationCredentialsCredentialArgs();

    /**
     * RFC2617 compliant password associated with the SIP credentials.
     * 
     */
    @Import(name="password", required=true)
    private Output password;

    /**
     * @return RFC2617 compliant password associated with the SIP credentials.
     * 
     */
    public Output password() {
        return this.password;
    }

    /**
     * RFC2617 compliant username associated with the SIP credentials.
     * 
     */
    @Import(name="username", required=true)
    private Output username;

    /**
     * @return RFC2617 compliant username associated with the SIP credentials.
     * 
     */
    public Output username() {
        return this.username;
    }

    private VoiceConnectorTerminationCredentialsCredentialArgs() {}

    private VoiceConnectorTerminationCredentialsCredentialArgs(VoiceConnectorTerminationCredentialsCredentialArgs $) {
        this.password = $.password;
        this.username = $.username;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(VoiceConnectorTerminationCredentialsCredentialArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private VoiceConnectorTerminationCredentialsCredentialArgs $;

        public Builder() {
            $ = new VoiceConnectorTerminationCredentialsCredentialArgs();
        }

        public Builder(VoiceConnectorTerminationCredentialsCredentialArgs defaults) {
            $ = new VoiceConnectorTerminationCredentialsCredentialArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param password RFC2617 compliant password associated with the SIP credentials.
         * 
         * @return builder
         * 
         */
        public Builder password(Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password RFC2617 compliant password associated with the SIP credentials.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param username RFC2617 compliant username associated with the SIP credentials.
         * 
         * @return builder
         * 
         */
        public Builder username(Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username RFC2617 compliant username associated with the SIP credentials.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public VoiceConnectorTerminationCredentialsCredentialArgs build() {
            if ($.password == null) {
                throw new MissingRequiredPropertyException("VoiceConnectorTerminationCredentialsCredentialArgs", "password");
            }
            if ($.username == null) {
                throw new MissingRequiredPropertyException("VoiceConnectorTerminationCredentialsCredentialArgs", "username");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy