
com.pulumi.azurenative.cdn.outputs.GetAFDCustomDomainResult 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.cdn.outputs;
import com.pulumi.azurenative.cdn.outputs.AFDDomainHttpsParametersResponse;
import com.pulumi.azurenative.cdn.outputs.DomainValidationPropertiesResponse;
import com.pulumi.azurenative.cdn.outputs.ResourceReferenceResponse;
import com.pulumi.azurenative.cdn.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetAFDCustomDomainResult {
/**
* @return Resource reference to the Azure DNS zone
*
*/
private @Nullable ResourceReferenceResponse azureDnsZone;
private String deploymentStatus;
/**
* @return Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
*
*/
private String domainValidationState;
/**
* @return Key-Value pair representing migration properties for domains.
*
*/
private @Nullable Map extendedProperties;
/**
* @return The host name of the domain. Must be a domain name.
*
*/
private String hostName;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return Resource reference to the Azure resource where custom domain ownership was prevalidated
*
*/
private @Nullable ResourceReferenceResponse preValidatedCustomDomainResourceId;
/**
* @return The name of the profile which holds the domain.
*
*/
private String profileName;
/**
* @return Provisioning status
*
*/
private String provisioningState;
/**
* @return Read only system data
*
*/
private SystemDataResponse systemData;
/**
* @return The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
*
*/
private @Nullable AFDDomainHttpsParametersResponse tlsSettings;
/**
* @return Resource type.
*
*/
private String type;
/**
* @return Values the customer needs to validate domain ownership
*
*/
private DomainValidationPropertiesResponse validationProperties;
private GetAFDCustomDomainResult() {}
/**
* @return Resource reference to the Azure DNS zone
*
*/
public Optional azureDnsZone() {
return Optional.ofNullable(this.azureDnsZone);
}
public String deploymentStatus() {
return this.deploymentStatus;
}
/**
* @return Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
*
*/
public String domainValidationState() {
return this.domainValidationState;
}
/**
* @return Key-Value pair representing migration properties for domains.
*
*/
public Map extendedProperties() {
return this.extendedProperties == null ? Map.of() : this.extendedProperties;
}
/**
* @return The host name of the domain. Must be a domain name.
*
*/
public String hostName() {
return this.hostName;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return Resource reference to the Azure resource where custom domain ownership was prevalidated
*
*/
public Optional preValidatedCustomDomainResourceId() {
return Optional.ofNullable(this.preValidatedCustomDomainResourceId);
}
/**
* @return The name of the profile which holds the domain.
*
*/
public String profileName() {
return this.profileName;
}
/**
* @return Provisioning status
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Read only system data
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
*
*/
public Optional tlsSettings() {
return Optional.ofNullable(this.tlsSettings);
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
/**
* @return Values the customer needs to validate domain ownership
*
*/
public DomainValidationPropertiesResponse validationProperties() {
return this.validationProperties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAFDCustomDomainResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ResourceReferenceResponse azureDnsZone;
private String deploymentStatus;
private String domainValidationState;
private @Nullable Map extendedProperties;
private String hostName;
private String id;
private String name;
private @Nullable ResourceReferenceResponse preValidatedCustomDomainResourceId;
private String profileName;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable AFDDomainHttpsParametersResponse tlsSettings;
private String type;
private DomainValidationPropertiesResponse validationProperties;
public Builder() {}
public Builder(GetAFDCustomDomainResult defaults) {
Objects.requireNonNull(defaults);
this.azureDnsZone = defaults.azureDnsZone;
this.deploymentStatus = defaults.deploymentStatus;
this.domainValidationState = defaults.domainValidationState;
this.extendedProperties = defaults.extendedProperties;
this.hostName = defaults.hostName;
this.id = defaults.id;
this.name = defaults.name;
this.preValidatedCustomDomainResourceId = defaults.preValidatedCustomDomainResourceId;
this.profileName = defaults.profileName;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tlsSettings = defaults.tlsSettings;
this.type = defaults.type;
this.validationProperties = defaults.validationProperties;
}
@CustomType.Setter
public Builder azureDnsZone(@Nullable ResourceReferenceResponse azureDnsZone) {
this.azureDnsZone = azureDnsZone;
return this;
}
@CustomType.Setter
public Builder deploymentStatus(String deploymentStatus) {
if (deploymentStatus == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "deploymentStatus");
}
this.deploymentStatus = deploymentStatus;
return this;
}
@CustomType.Setter
public Builder domainValidationState(String domainValidationState) {
if (domainValidationState == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "domainValidationState");
}
this.domainValidationState = domainValidationState;
return this;
}
@CustomType.Setter
public Builder extendedProperties(@Nullable Map extendedProperties) {
this.extendedProperties = extendedProperties;
return this;
}
@CustomType.Setter
public Builder hostName(String hostName) {
if (hostName == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "hostName");
}
this.hostName = hostName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder preValidatedCustomDomainResourceId(@Nullable ResourceReferenceResponse preValidatedCustomDomainResourceId) {
this.preValidatedCustomDomainResourceId = preValidatedCustomDomainResourceId;
return this;
}
@CustomType.Setter
public Builder profileName(String profileName) {
if (profileName == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "profileName");
}
this.profileName = profileName;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tlsSettings(@Nullable AFDDomainHttpsParametersResponse tlsSettings) {
this.tlsSettings = tlsSettings;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder validationProperties(DomainValidationPropertiesResponse validationProperties) {
if (validationProperties == null) {
throw new MissingRequiredPropertyException("GetAFDCustomDomainResult", "validationProperties");
}
this.validationProperties = validationProperties;
return this;
}
public GetAFDCustomDomainResult build() {
final var _resultValue = new GetAFDCustomDomainResult();
_resultValue.azureDnsZone = azureDnsZone;
_resultValue.deploymentStatus = deploymentStatus;
_resultValue.domainValidationState = domainValidationState;
_resultValue.extendedProperties = extendedProperties;
_resultValue.hostName = hostName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.preValidatedCustomDomainResourceId = preValidatedCustomDomainResourceId;
_resultValue.profileName = profileName;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tlsSettings = tlsSettings;
_resultValue.type = type;
_resultValue.validationProperties = validationProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy