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

com.pulumi.alicloud.dcdn.inputs.IpaDomainState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.dcdn.inputs;

import com.pulumi.alicloud.dcdn.inputs.IpaDomainSourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class IpaDomainState extends com.pulumi.resources.ResourceArgs {

    public static final IpaDomainState Empty = new IpaDomainState();

    /**
     * The domain name to be added to IPA. Wildcard domain names are supported. A wildcard domain name must start with a period (.).
     * 
     */
    @Import(name="domainName")
    private @Nullable Output domainName;

    /**
     * @return The domain name to be added to IPA. Wildcard domain names are supported. A wildcard domain name must start with a period (.).
     * 
     */
    public Optional> domainName() {
        return Optional.ofNullable(this.domainName);
    }

    /**
     * The ID of the resource group. If you do not set this parameter, the system automatically assigns the ID of the default resource group.
     * 
     */
    @Import(name="resourceGroupId")
    private @Nullable Output resourceGroupId;

    /**
     * @return The ID of the resource group. If you do not set this parameter, the system automatically assigns the ID of the default resource group.
     * 
     */
    public Optional> resourceGroupId() {
        return Optional.ofNullable(this.resourceGroupId);
    }

    /**
     * The accelerated region. Valid values: `domestic`, `global`, `overseas`.
     * 
     */
    @Import(name="scope")
    private @Nullable Output scope;

    /**
     * @return The accelerated region. Valid values: `domestic`, `global`, `overseas`.
     * 
     */
    public Optional> scope() {
        return Optional.ofNullable(this.scope);
    }

    /**
     * Sources. See `sources` below.
     * 
     */
    @Import(name="sources")
    private @Nullable Output> sources;

    /**
     * @return Sources. See `sources` below.
     * 
     */
    public Optional>> sources() {
        return Optional.ofNullable(this.sources);
    }

    /**
     * The status of DCDN Ipa Domain. Valid values: `online`, `offline`. Default to `online`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of DCDN Ipa Domain. Valid values: `online`, `offline`. Default to `online`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private IpaDomainState() {}

    private IpaDomainState(IpaDomainState $) {
        this.domainName = $.domainName;
        this.resourceGroupId = $.resourceGroupId;
        this.scope = $.scope;
        this.sources = $.sources;
        this.status = $.status;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(IpaDomainState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private IpaDomainState $;

        public Builder() {
            $ = new IpaDomainState();
        }

        public Builder(IpaDomainState defaults) {
            $ = new IpaDomainState(Objects.requireNonNull(defaults));
        }

        /**
         * @param domainName The domain name to be added to IPA. Wildcard domain names are supported. A wildcard domain name must start with a period (.).
         * 
         * @return builder
         * 
         */
        public Builder domainName(@Nullable Output domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param domainName The domain name to be added to IPA. Wildcard domain names are supported. A wildcard domain name must start with a period (.).
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

        /**
         * @param resourceGroupId The ID of the resource group. If you do not set this parameter, the system automatically assigns the ID of the default resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(@Nullable Output resourceGroupId) {
            $.resourceGroupId = resourceGroupId;
            return this;
        }

        /**
         * @param resourceGroupId The ID of the resource group. If you do not set this parameter, the system automatically assigns the ID of the default resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(String resourceGroupId) {
            return resourceGroupId(Output.of(resourceGroupId));
        }

        /**
         * @param scope The accelerated region. Valid values: `domestic`, `global`, `overseas`.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The accelerated region. Valid values: `domestic`, `global`, `overseas`.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

        /**
         * @param sources Sources. See `sources` below.
         * 
         * @return builder
         * 
         */
        public Builder sources(@Nullable Output> sources) {
            $.sources = sources;
            return this;
        }

        /**
         * @param sources Sources. See `sources` below.
         * 
         * @return builder
         * 
         */
        public Builder sources(List sources) {
            return sources(Output.of(sources));
        }

        /**
         * @param sources Sources. See `sources` below.
         * 
         * @return builder
         * 
         */
        public Builder sources(IpaDomainSourceArgs... sources) {
            return sources(List.of(sources));
        }

        /**
         * @param status The status of DCDN Ipa Domain. Valid values: `online`, `offline`. Default to `online`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of DCDN Ipa Domain. Valid values: `online`, `offline`. Default to `online`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public IpaDomainState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy