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

com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryHebeiArgs 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.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 ErEnvConfPresetCanaryHebeiArgs extends com.pulumi.resources.ResourceArgs {

    public static final ErEnvConfPresetCanaryHebeiArgs Empty = new ErEnvConfPresetCanaryHebeiArgs();

    /**
     * Allowed DCDN domain names.
     * 
     */
    @Import(name="allowedHosts")
    private @Nullable Output> allowedHosts;

    /**
     * @return Allowed DCDN domain names.
     * 
     */
    public Optional>> allowedHosts() {
        return Optional.ofNullable(this.allowedHosts);
    }

    /**
     * The version number of the code.
     * 
     */
    @Import(name="codeRev")
    private @Nullable Output codeRev;

    /**
     * @return The version number of the code.
     * 
     */
    public Optional> codeRev() {
        return Optional.ofNullable(this.codeRev);
    }

    /**
     * The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
     * 
     */
    @Import(name="specName")
    private @Nullable Output specName;

    /**
     * @return The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
     * 
     */
    public Optional> specName() {
        return Optional.ofNullable(this.specName);
    }

    private ErEnvConfPresetCanaryHebeiArgs() {}

    private ErEnvConfPresetCanaryHebeiArgs(ErEnvConfPresetCanaryHebeiArgs $) {
        this.allowedHosts = $.allowedHosts;
        this.codeRev = $.codeRev;
        this.specName = $.specName;
    }

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

    public static final class Builder {
        private ErEnvConfPresetCanaryHebeiArgs $;

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

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

        /**
         * @param allowedHosts Allowed DCDN domain names.
         * 
         * @return builder
         * 
         */
        public Builder allowedHosts(@Nullable Output> allowedHosts) {
            $.allowedHosts = allowedHosts;
            return this;
        }

        /**
         * @param allowedHosts Allowed DCDN domain names.
         * 
         * @return builder
         * 
         */
        public Builder allowedHosts(List allowedHosts) {
            return allowedHosts(Output.of(allowedHosts));
        }

        /**
         * @param allowedHosts Allowed DCDN domain names.
         * 
         * @return builder
         * 
         */
        public Builder allowedHosts(String... allowedHosts) {
            return allowedHosts(List.of(allowedHosts));
        }

        /**
         * @param codeRev The version number of the code.
         * 
         * @return builder
         * 
         */
        public Builder codeRev(@Nullable Output codeRev) {
            $.codeRev = codeRev;
            return this;
        }

        /**
         * @param codeRev The version number of the code.
         * 
         * @return builder
         * 
         */
        public Builder codeRev(String codeRev) {
            return codeRev(Output.of(codeRev));
        }

        /**
         * @param specName The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
         * 
         * @return builder
         * 
         */
        public Builder specName(@Nullable Output specName) {
            $.specName = specName;
            return this;
        }

        /**
         * @param specName The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
         * 
         * @return builder
         * 
         */
        public Builder specName(String specName) {
            return specName(Output.of(specName));
        }

        public ErEnvConfPresetCanaryHebeiArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy