com.pulumi.azurenative.botservice.outputs.TelephonyChannelResponse 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.botservice.outputs;
import com.pulumi.azurenative.botservice.outputs.TelephonyChannelPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TelephonyChannelResponse {
/**
* @return The channel name
* Expected value is 'TelephonyChannel'.
*
*/
private String channelName;
/**
* @return Entity Tag of the resource
*
*/
private @Nullable String etag;
/**
* @return Specifies the location of the resource.
*
*/
private @Nullable String location;
/**
* @return The set of properties specific to Telephony channel resource
*
*/
private @Nullable TelephonyChannelPropertiesResponse properties;
/**
* @return Provisioning state of the resource
*
*/
private String provisioningState;
private TelephonyChannelResponse() {}
/**
* @return The channel name
* Expected value is 'TelephonyChannel'.
*
*/
public String channelName() {
return this.channelName;
}
/**
* @return Entity Tag of the resource
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return Specifies the location of the resource.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The set of properties specific to Telephony channel resource
*
*/
public Optional properties() {
return Optional.ofNullable(this.properties);
}
/**
* @return Provisioning state of the resource
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TelephonyChannelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String channelName;
private @Nullable String etag;
private @Nullable String location;
private @Nullable TelephonyChannelPropertiesResponse properties;
private String provisioningState;
public Builder() {}
public Builder(TelephonyChannelResponse defaults) {
Objects.requireNonNull(defaults);
this.channelName = defaults.channelName;
this.etag = defaults.etag;
this.location = defaults.location;
this.properties = defaults.properties;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder channelName(String channelName) {
if (channelName == null) {
throw new MissingRequiredPropertyException("TelephonyChannelResponse", "channelName");
}
this.channelName = channelName;
return this;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable TelephonyChannelPropertiesResponse properties) {
this.properties = properties;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("TelephonyChannelResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public TelephonyChannelResponse build() {
final var _resultValue = new TelephonyChannelResponse();
_resultValue.channelName = channelName;
_resultValue.etag = etag;
_resultValue.location = location;
_resultValue.properties = properties;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy