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

com.pulumi.azurenative.redhatopenshift.inputs.MasterProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.EncryptionAtHost;
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;


/**
 * MasterProfile represents a master profile.
 * 
 */
public final class MasterProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final MasterProfileArgs Empty = new MasterProfileArgs();

    /**
     * The resource ID of an associated DiskEncryptionSet, if applicable.
     * 
     */
    @Import(name="diskEncryptionSetId")
    private @Nullable Output diskEncryptionSetId;

    /**
     * @return The resource ID of an associated DiskEncryptionSet, if applicable.
     * 
     */
    public Optional> diskEncryptionSetId() {
        return Optional.ofNullable(this.diskEncryptionSetId);
    }

    /**
     * Whether master virtual machines are encrypted at host.
     * 
     */
    @Import(name="encryptionAtHost")
    private @Nullable Output> encryptionAtHost;

    /**
     * @return Whether master virtual machines are encrypted at host.
     * 
     */
    public Optional>> encryptionAtHost() {
        return Optional.ofNullable(this.encryptionAtHost);
    }

    /**
     * The Azure resource ID of the master subnet.
     * 
     */
    @Import(name="subnetId")
    private @Nullable Output subnetId;

    /**
     * @return The Azure resource ID of the master subnet.
     * 
     */
    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    /**
     * The size of the master VMs.
     * 
     */
    @Import(name="vmSize")
    private @Nullable Output vmSize;

    /**
     * @return The size of the master VMs.
     * 
     */
    public Optional> vmSize() {
        return Optional.ofNullable(this.vmSize);
    }

    private MasterProfileArgs() {}

    private MasterProfileArgs(MasterProfileArgs $) {
        this.diskEncryptionSetId = $.diskEncryptionSetId;
        this.encryptionAtHost = $.encryptionAtHost;
        this.subnetId = $.subnetId;
        this.vmSize = $.vmSize;
    }

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

    public static final class Builder {
        private MasterProfileArgs $;

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

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

        /**
         * @param diskEncryptionSetId The resource ID of an associated DiskEncryptionSet, if applicable.
         * 
         * @return builder
         * 
         */
        public Builder diskEncryptionSetId(@Nullable Output diskEncryptionSetId) {
            $.diskEncryptionSetId = diskEncryptionSetId;
            return this;
        }

        /**
         * @param diskEncryptionSetId The resource ID of an associated DiskEncryptionSet, if applicable.
         * 
         * @return builder
         * 
         */
        public Builder diskEncryptionSetId(String diskEncryptionSetId) {
            return diskEncryptionSetId(Output.of(diskEncryptionSetId));
        }

        /**
         * @param encryptionAtHost Whether master virtual machines are encrypted at host.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtHost(@Nullable Output> encryptionAtHost) {
            $.encryptionAtHost = encryptionAtHost;
            return this;
        }

        /**
         * @param encryptionAtHost Whether master virtual machines are encrypted at host.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtHost(Either encryptionAtHost) {
            return encryptionAtHost(Output.of(encryptionAtHost));
        }

        /**
         * @param encryptionAtHost Whether master virtual machines are encrypted at host.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtHost(String encryptionAtHost) {
            return encryptionAtHost(Either.ofLeft(encryptionAtHost));
        }

        /**
         * @param encryptionAtHost Whether master virtual machines are encrypted at host.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtHost(EncryptionAtHost encryptionAtHost) {
            return encryptionAtHost(Either.ofRight(encryptionAtHost));
        }

        /**
         * @param subnetId The Azure resource ID of the master subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The Azure resource ID of the master subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        /**
         * @param vmSize The size of the master VMs.
         * 
         * @return builder
         * 
         */
        public Builder vmSize(@Nullable Output vmSize) {
            $.vmSize = vmSize;
            return this;
        }

        /**
         * @param vmSize The size of the master VMs.
         * 
         * @return builder
         * 
         */
        public Builder vmSize(String vmSize) {
            return vmSize(Output.of(vmSize));
        }

        public MasterProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy