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

com.pulumi.azurenative.insights.outputs.VoiceReceiverResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.azurenative.insights.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class VoiceReceiverResponse {
    /**
     * @return The country code of the voice receiver.
     * 
     */
    private String countryCode;
    /**
     * @return The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
     * 
     */
    private String name;
    /**
     * @return The phone number of the voice receiver.
     * 
     */
    private String phoneNumber;

    private VoiceReceiverResponse() {}
    /**
     * @return The country code of the voice receiver.
     * 
     */
    public String countryCode() {
        return this.countryCode;
    }
    /**
     * @return The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The phone number of the voice receiver.
     * 
     */
    public String phoneNumber() {
        return this.phoneNumber;
    }

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

    public static Builder builder(VoiceReceiverResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String countryCode;
        private String name;
        private String phoneNumber;
        public Builder() {}
        public Builder(VoiceReceiverResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.countryCode = defaults.countryCode;
    	      this.name = defaults.name;
    	      this.phoneNumber = defaults.phoneNumber;
        }

        @CustomType.Setter
        public Builder countryCode(String countryCode) {
            if (countryCode == null) {
              throw new MissingRequiredPropertyException("VoiceReceiverResponse", "countryCode");
            }
            this.countryCode = countryCode;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("VoiceReceiverResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder phoneNumber(String phoneNumber) {
            if (phoneNumber == null) {
              throw new MissingRequiredPropertyException("VoiceReceiverResponse", "phoneNumber");
            }
            this.phoneNumber = phoneNumber;
            return this;
        }
        public VoiceReceiverResponse build() {
            final var _resultValue = new VoiceReceiverResponse();
            _resultValue.countryCode = countryCode;
            _resultValue.name = name;
            _resultValue.phoneNumber = phoneNumber;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy