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

com.pulumi.azurenative.redhatopenshift.inputs.ClusterProfileArgs 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.redhatopenshift.inputs;

import com.pulumi.azurenative.redhatopenshift.enums.FipsValidatedModules;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * ClusterProfile represents a cluster profile.
 * 
 */
public final class ClusterProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterProfileArgs Empty = new ClusterProfileArgs();

    /**
     * The domain for the cluster.
     * 
     */
    @Import(name="domain")
    private @Nullable Output domain;

    /**
     * @return The domain for the cluster.
     * 
     */
    public Optional> domain() {
        return Optional.ofNullable(this.domain);
    }

    /**
     * If FIPS validated crypto modules are used
     * 
     */
    @Import(name="fipsValidatedModules")
    private @Nullable Output> fipsValidatedModules;

    /**
     * @return If FIPS validated crypto modules are used
     * 
     */
    public Optional>> fipsValidatedModules() {
        return Optional.ofNullable(this.fipsValidatedModules);
    }

    /**
     * The pull secret for the cluster.
     * 
     */
    @Import(name="pullSecret")
    private @Nullable Output pullSecret;

    /**
     * @return The pull secret for the cluster.
     * 
     */
    public Optional> pullSecret() {
        return Optional.ofNullable(this.pullSecret);
    }

    /**
     * The ID of the cluster resource group.
     * 
     */
    @Import(name="resourceGroupId")
    private @Nullable Output resourceGroupId;

    /**
     * @return The ID of the cluster resource group.
     * 
     */
    public Optional> resourceGroupId() {
        return Optional.ofNullable(this.resourceGroupId);
    }

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

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

    private ClusterProfileArgs() {}

    private ClusterProfileArgs(ClusterProfileArgs $) {
        this.domain = $.domain;
        this.fipsValidatedModules = $.fipsValidatedModules;
        this.pullSecret = $.pullSecret;
        this.resourceGroupId = $.resourceGroupId;
        this.version = $.version;
    }

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

    public static final class Builder {
        private ClusterProfileArgs $;

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

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

        /**
         * @param domain The domain for the cluster.
         * 
         * @return builder
         * 
         */
        public Builder domain(@Nullable Output domain) {
            $.domain = domain;
            return this;
        }

        /**
         * @param domain The domain for the cluster.
         * 
         * @return builder
         * 
         */
        public Builder domain(String domain) {
            return domain(Output.of(domain));
        }

        /**
         * @param fipsValidatedModules If FIPS validated crypto modules are used
         * 
         * @return builder
         * 
         */
        public Builder fipsValidatedModules(@Nullable Output> fipsValidatedModules) {
            $.fipsValidatedModules = fipsValidatedModules;
            return this;
        }

        /**
         * @param fipsValidatedModules If FIPS validated crypto modules are used
         * 
         * @return builder
         * 
         */
        public Builder fipsValidatedModules(Either fipsValidatedModules) {
            return fipsValidatedModules(Output.of(fipsValidatedModules));
        }

        /**
         * @param fipsValidatedModules If FIPS validated crypto modules are used
         * 
         * @return builder
         * 
         */
        public Builder fipsValidatedModules(String fipsValidatedModules) {
            return fipsValidatedModules(Either.ofLeft(fipsValidatedModules));
        }

        /**
         * @param fipsValidatedModules If FIPS validated crypto modules are used
         * 
         * @return builder
         * 
         */
        public Builder fipsValidatedModules(FipsValidatedModules fipsValidatedModules) {
            return fipsValidatedModules(Either.ofRight(fipsValidatedModules));
        }

        /**
         * @param pullSecret The pull secret for the cluster.
         * 
         * @return builder
         * 
         */
        public Builder pullSecret(@Nullable Output pullSecret) {
            $.pullSecret = pullSecret;
            return this;
        }

        /**
         * @param pullSecret The pull secret for the cluster.
         * 
         * @return builder
         * 
         */
        public Builder pullSecret(String pullSecret) {
            return pullSecret(Output.of(pullSecret));
        }

        /**
         * @param resourceGroupId The ID of the cluster resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(@Nullable Output resourceGroupId) {
            $.resourceGroupId = resourceGroupId;
            return this;
        }

        /**
         * @param resourceGroupId The ID of the cluster resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(String resourceGroupId) {
            return resourceGroupId(Output.of(resourceGroupId));
        }

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

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

        public ClusterProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy