
com.pulumi.azurenative.cdn.outputs.DeepCreatedCustomDomainResponse 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.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 DeepCreatedCustomDomainResponse {
/**
* @return The host name of the custom domain. Must be a domain name.
*
*/
private String hostName;
/**
* @return Custom domain name.
*
*/
private String name;
/**
* @return Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
*
*/
private @Nullable String validationData;
private DeepCreatedCustomDomainResponse() {}
/**
* @return The host name of the custom domain. Must be a domain name.
*
*/
public String hostName() {
return this.hostName;
}
/**
* @return Custom domain name.
*
*/
public String name() {
return this.name;
}
/**
* @return Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
*
*/
public Optional validationData() {
return Optional.ofNullable(this.validationData);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeepCreatedCustomDomainResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String hostName;
private String name;
private @Nullable String validationData;
public Builder() {}
public Builder(DeepCreatedCustomDomainResponse defaults) {
Objects.requireNonNull(defaults);
this.hostName = defaults.hostName;
this.name = defaults.name;
this.validationData = defaults.validationData;
}
@CustomType.Setter
public Builder hostName(String hostName) {
if (hostName == null) {
throw new MissingRequiredPropertyException("DeepCreatedCustomDomainResponse", "hostName");
}
this.hostName = hostName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DeepCreatedCustomDomainResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder validationData(@Nullable String validationData) {
this.validationData = validationData;
return this;
}
public DeepCreatedCustomDomainResponse build() {
final var _resultValue = new DeepCreatedCustomDomainResponse();
_resultValue.hostName = hostName;
_resultValue.name = name;
_resultValue.validationData = validationData;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy