
com.pulumi.azurenative.insights.outputs.SmsReceiverResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.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 SmsReceiverResponse {
/**
* @return The country code of the SMS receiver.
*
*/
private String countryCode;
/**
* @return The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
*
*/
private String name;
/**
* @return The phone number of the SMS receiver.
*
*/
private String phoneNumber;
/**
* @return The status of the receiver.
*
*/
private String status;
private SmsReceiverResponse() {}
/**
* @return The country code of the SMS receiver.
*
*/
public String countryCode() {
return this.countryCode;
}
/**
* @return The name of the SMS 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 SMS receiver.
*
*/
public String phoneNumber() {
return this.phoneNumber;
}
/**
* @return The status of the receiver.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SmsReceiverResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String countryCode;
private String name;
private String phoneNumber;
private String status;
public Builder() {}
public Builder(SmsReceiverResponse defaults) {
Objects.requireNonNull(defaults);
this.countryCode = defaults.countryCode;
this.name = defaults.name;
this.phoneNumber = defaults.phoneNumber;
this.status = defaults.status;
}
@CustomType.Setter
public Builder countryCode(String countryCode) {
if (countryCode == null) {
throw new MissingRequiredPropertyException("SmsReceiverResponse", "countryCode");
}
this.countryCode = countryCode;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("SmsReceiverResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder phoneNumber(String phoneNumber) {
if (phoneNumber == null) {
throw new MissingRequiredPropertyException("SmsReceiverResponse", "phoneNumber");
}
this.phoneNumber = phoneNumber;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("SmsReceiverResponse", "status");
}
this.status = status;
return this;
}
public SmsReceiverResponse build() {
final var _resultValue = new SmsReceiverResponse();
_resultValue.countryCode = countryCode;
_resultValue.name = name;
_resultValue.phoneNumber = phoneNumber;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy