
com.pulumi.azurenative.healthbot.outputs.HealthBotPropertiesResponse 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.healthbot.outputs;
import com.pulumi.azurenative.healthbot.outputs.KeyVaultPropertiesResponse;
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 HealthBotPropertiesResponse {
/**
* @return The link.
*
*/
private String botManagementPortalLink;
/**
* @return KeyVault properties for the resource encryption.
*
*/
private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
/**
* @return The provisioning state of the Azure Health Bot resource.
*
*/
private String provisioningState;
private HealthBotPropertiesResponse() {}
/**
* @return The link.
*
*/
public String botManagementPortalLink() {
return this.botManagementPortalLink;
}
/**
* @return KeyVault properties for the resource encryption.
*
*/
public Optional keyVaultProperties() {
return Optional.ofNullable(this.keyVaultProperties);
}
/**
* @return The provisioning state of the Azure Health Bot resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HealthBotPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String botManagementPortalLink;
private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
private String provisioningState;
public Builder() {}
public Builder(HealthBotPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.botManagementPortalLink = defaults.botManagementPortalLink;
this.keyVaultProperties = defaults.keyVaultProperties;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder botManagementPortalLink(String botManagementPortalLink) {
if (botManagementPortalLink == null) {
throw new MissingRequiredPropertyException("HealthBotPropertiesResponse", "botManagementPortalLink");
}
this.botManagementPortalLink = botManagementPortalLink;
return this;
}
@CustomType.Setter
public Builder keyVaultProperties(@Nullable KeyVaultPropertiesResponse keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("HealthBotPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public HealthBotPropertiesResponse build() {
final var _resultValue = new HealthBotPropertiesResponse();
_resultValue.botManagementPortalLink = botManagementPortalLink;
_resultValue.keyVaultProperties = keyVaultProperties;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy