All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.cdn.outputs.GetCustomDomainResult Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.CdnManagedHttpsParametersResponse;
import com.pulumi.azurenative.cdn.outputs.SystemDataResponse;
import com.pulumi.azurenative.cdn.outputs.UserManagedHttpsParametersResponse;
import com.pulumi.core.Either;
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 GetCustomDomainResult {
    /**
     * @return Certificate parameters for securing custom HTTPS
     * 
     */
    private @Nullable Either customHttpsParameters;
    /**
     * @return Provisioning status of the custom domain.
     * 
     */
    private String customHttpsProvisioningState;
    /**
     * @return Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
     * 
     */
    private String customHttpsProvisioningSubstate;
    /**
     * @return The host name of the custom domain. Must be a domain name.
     * 
     */
    private String hostName;
    /**
     * @return Resource ID.
     * 
     */
    private String id;
    /**
     * @return Resource name.
     * 
     */
    private String name;
    /**
     * @return Provisioning status of Custom Https of the custom domain.
     * 
     */
    private String provisioningState;
    /**
     * @return Resource status of the custom domain.
     * 
     */
    private String resourceState;
    /**
     * @return Read only system data
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource type.
     * 
     */
    private String type;
    /**
     * @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 GetCustomDomainResult() {}
    /**
     * @return Certificate parameters for securing custom HTTPS
     * 
     */
    public Optional> customHttpsParameters() {
        return Optional.ofNullable(this.customHttpsParameters);
    }
    /**
     * @return Provisioning status of the custom domain.
     * 
     */
    public String customHttpsProvisioningState() {
        return this.customHttpsProvisioningState;
    }
    /**
     * @return Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
     * 
     */
    public String customHttpsProvisioningSubstate() {
        return this.customHttpsProvisioningSubstate;
    }
    /**
     * @return The host name of the custom 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 Provisioning status of Custom Https of the custom domain.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Resource status of the custom domain.
     * 
     */
    public String resourceState() {
        return this.resourceState;
    }
    /**
     * @return Read only system data
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource type.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @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(GetCustomDomainResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Either customHttpsParameters;
        private String customHttpsProvisioningState;
        private String customHttpsProvisioningSubstate;
        private String hostName;
        private String id;
        private String name;
        private String provisioningState;
        private String resourceState;
        private SystemDataResponse systemData;
        private String type;
        private @Nullable String validationData;
        public Builder() {}
        public Builder(GetCustomDomainResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customHttpsParameters = defaults.customHttpsParameters;
    	      this.customHttpsProvisioningState = defaults.customHttpsProvisioningState;
    	      this.customHttpsProvisioningSubstate = defaults.customHttpsProvisioningSubstate;
    	      this.hostName = defaults.hostName;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.resourceState = defaults.resourceState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
    	      this.validationData = defaults.validationData;
        }

        @CustomType.Setter
        public Builder customHttpsParameters(@Nullable Either customHttpsParameters) {

            this.customHttpsParameters = customHttpsParameters;
            return this;
        }
        @CustomType.Setter
        public Builder customHttpsProvisioningState(String customHttpsProvisioningState) {
            if (customHttpsProvisioningState == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "customHttpsProvisioningState");
            }
            this.customHttpsProvisioningState = customHttpsProvisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder customHttpsProvisioningSubstate(String customHttpsProvisioningSubstate) {
            if (customHttpsProvisioningSubstate == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "customHttpsProvisioningSubstate");
            }
            this.customHttpsProvisioningSubstate = customHttpsProvisioningSubstate;
            return this;
        }
        @CustomType.Setter
        public Builder hostName(String hostName) {
            if (hostName == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "hostName");
            }
            this.hostName = hostName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder resourceState(String resourceState) {
            if (resourceState == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "resourceState");
            }
            this.resourceState = resourceState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetCustomDomainResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder validationData(@Nullable String validationData) {

            this.validationData = validationData;
            return this;
        }
        public GetCustomDomainResult build() {
            final var _resultValue = new GetCustomDomainResult();
            _resultValue.customHttpsParameters = customHttpsParameters;
            _resultValue.customHttpsProvisioningState = customHttpsProvisioningState;
            _resultValue.customHttpsProvisioningSubstate = customHttpsProvisioningSubstate;
            _resultValue.hostName = hostName;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.resourceState = resourceState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            _resultValue.validationData = validationData;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy