
com.pulumi.azurenative.botservice.outputs.TelephonyPhoneNumbersResponse 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.azurenative.botservice.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TelephonyPhoneNumbersResponse {
/**
* @return The endpoint of ACS.
*
*/
private @Nullable String acsEndpoint;
/**
* @return The resource id of ACS.
*
*/
private @Nullable String acsResourceId;
/**
* @return The secret of ACS.
*
*/
private @Nullable String acsSecret;
/**
* @return The service region of cognitive service.
*
*/
private @Nullable String cognitiveServiceRegion;
/**
* @return The resource id of cognitive service.
*
*/
private @Nullable String cognitiveServiceResourceId;
/**
* @return The subscription key of cognitive service.
*
*/
private @Nullable String cognitiveServiceSubscriptionKey;
/**
* @return The default locale of the phone number.
*
*/
private @Nullable String defaultLocale;
/**
* @return The element id.
*
*/
private @Nullable String id;
/**
* @return Optional Property that will determine the offering type of the phone.
*
*/
private @Nullable String offerType;
/**
* @return The phone number.
*
*/
private @Nullable String phoneNumber;
private TelephonyPhoneNumbersResponse() {}
/**
* @return The endpoint of ACS.
*
*/
public Optional acsEndpoint() {
return Optional.ofNullable(this.acsEndpoint);
}
/**
* @return The resource id of ACS.
*
*/
public Optional acsResourceId() {
return Optional.ofNullable(this.acsResourceId);
}
/**
* @return The secret of ACS.
*
*/
public Optional acsSecret() {
return Optional.ofNullable(this.acsSecret);
}
/**
* @return The service region of cognitive service.
*
*/
public Optional cognitiveServiceRegion() {
return Optional.ofNullable(this.cognitiveServiceRegion);
}
/**
* @return The resource id of cognitive service.
*
*/
public Optional cognitiveServiceResourceId() {
return Optional.ofNullable(this.cognitiveServiceResourceId);
}
/**
* @return The subscription key of cognitive service.
*
*/
public Optional cognitiveServiceSubscriptionKey() {
return Optional.ofNullable(this.cognitiveServiceSubscriptionKey);
}
/**
* @return The default locale of the phone number.
*
*/
public Optional defaultLocale() {
return Optional.ofNullable(this.defaultLocale);
}
/**
* @return The element id.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Optional Property that will determine the offering type of the phone.
*
*/
public Optional offerType() {
return Optional.ofNullable(this.offerType);
}
/**
* @return The phone number.
*
*/
public Optional phoneNumber() {
return Optional.ofNullable(this.phoneNumber);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TelephonyPhoneNumbersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String acsEndpoint;
private @Nullable String acsResourceId;
private @Nullable String acsSecret;
private @Nullable String cognitiveServiceRegion;
private @Nullable String cognitiveServiceResourceId;
private @Nullable String cognitiveServiceSubscriptionKey;
private @Nullable String defaultLocale;
private @Nullable String id;
private @Nullable String offerType;
private @Nullable String phoneNumber;
public Builder() {}
public Builder(TelephonyPhoneNumbersResponse defaults) {
Objects.requireNonNull(defaults);
this.acsEndpoint = defaults.acsEndpoint;
this.acsResourceId = defaults.acsResourceId;
this.acsSecret = defaults.acsSecret;
this.cognitiveServiceRegion = defaults.cognitiveServiceRegion;
this.cognitiveServiceResourceId = defaults.cognitiveServiceResourceId;
this.cognitiveServiceSubscriptionKey = defaults.cognitiveServiceSubscriptionKey;
this.defaultLocale = defaults.defaultLocale;
this.id = defaults.id;
this.offerType = defaults.offerType;
this.phoneNumber = defaults.phoneNumber;
}
@CustomType.Setter
public Builder acsEndpoint(@Nullable String acsEndpoint) {
this.acsEndpoint = acsEndpoint;
return this;
}
@CustomType.Setter
public Builder acsResourceId(@Nullable String acsResourceId) {
this.acsResourceId = acsResourceId;
return this;
}
@CustomType.Setter
public Builder acsSecret(@Nullable String acsSecret) {
this.acsSecret = acsSecret;
return this;
}
@CustomType.Setter
public Builder cognitiveServiceRegion(@Nullable String cognitiveServiceRegion) {
this.cognitiveServiceRegion = cognitiveServiceRegion;
return this;
}
@CustomType.Setter
public Builder cognitiveServiceResourceId(@Nullable String cognitiveServiceResourceId) {
this.cognitiveServiceResourceId = cognitiveServiceResourceId;
return this;
}
@CustomType.Setter
public Builder cognitiveServiceSubscriptionKey(@Nullable String cognitiveServiceSubscriptionKey) {
this.cognitiveServiceSubscriptionKey = cognitiveServiceSubscriptionKey;
return this;
}
@CustomType.Setter
public Builder defaultLocale(@Nullable String defaultLocale) {
this.defaultLocale = defaultLocale;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder offerType(@Nullable String offerType) {
this.offerType = offerType;
return this;
}
@CustomType.Setter
public Builder phoneNumber(@Nullable String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public TelephonyPhoneNumbersResponse build() {
final var _resultValue = new TelephonyPhoneNumbersResponse();
_resultValue.acsEndpoint = acsEndpoint;
_resultValue.acsResourceId = acsResourceId;
_resultValue.acsSecret = acsSecret;
_resultValue.cognitiveServiceRegion = cognitiveServiceRegion;
_resultValue.cognitiveServiceResourceId = cognitiveServiceResourceId;
_resultValue.cognitiveServiceSubscriptionKey = cognitiveServiceSubscriptionKey;
_resultValue.defaultLocale = defaultLocale;
_resultValue.id = id;
_resultValue.offerType = offerType;
_resultValue.phoneNumber = phoneNumber;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy