
com.pulumi.azurenative.appplatform.outputs.CustomDomainPropertiesResponse 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.appplatform.outputs;
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 CustomDomainPropertiesResponse {
/**
* @return The app name of domain.
*
*/
private String appName;
/**
* @return The bound certificate name of domain.
*
*/
private @Nullable String certName;
/**
* @return Provisioning state of the Domain
*
*/
private String provisioningState;
/**
* @return The thumbprint of bound certificate.
*
*/
private @Nullable String thumbprint;
private CustomDomainPropertiesResponse() {}
/**
* @return The app name of domain.
*
*/
public String appName() {
return this.appName;
}
/**
* @return The bound certificate name of domain.
*
*/
public Optional certName() {
return Optional.ofNullable(this.certName);
}
/**
* @return Provisioning state of the Domain
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The thumbprint of bound certificate.
*
*/
public Optional thumbprint() {
return Optional.ofNullable(this.thumbprint);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomDomainPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String appName;
private @Nullable String certName;
private String provisioningState;
private @Nullable String thumbprint;
public Builder() {}
public Builder(CustomDomainPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.appName = defaults.appName;
this.certName = defaults.certName;
this.provisioningState = defaults.provisioningState;
this.thumbprint = defaults.thumbprint;
}
@CustomType.Setter
public Builder appName(String appName) {
if (appName == null) {
throw new MissingRequiredPropertyException("CustomDomainPropertiesResponse", "appName");
}
this.appName = appName;
return this;
}
@CustomType.Setter
public Builder certName(@Nullable String certName) {
this.certName = certName;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("CustomDomainPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder thumbprint(@Nullable String thumbprint) {
this.thumbprint = thumbprint;
return this;
}
public CustomDomainPropertiesResponse build() {
final var _resultValue = new CustomDomainPropertiesResponse();
_resultValue.appName = appName;
_resultValue.certName = certName;
_resultValue.provisioningState = provisioningState;
_resultValue.thumbprint = thumbprint;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy