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

com.ovhcloud.pulumi.ovh.Me.inputs.InstallationTemplatePartitionSchemeHardwareRaidState Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Me.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final InstallationTemplatePartitionSchemeHardwareRaidState Empty = new InstallationTemplatePartitionSchemeHardwareRaidState();

    /**
     * Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
     * 
     */
    @Import(name="disks")
    private @Nullable Output> disks;

    /**
     * @return Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
     * 
     */
    public Optional>> disks() {
        return Optional.ofNullable(this.disks);
    }

    /**
     * RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    /**
     * Hardware RAID name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Hardware RAID name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The partition scheme name.
     * 
     */
    @Import(name="schemeName")
    private @Nullable Output schemeName;

    /**
     * @return The partition scheme name.
     * 
     */
    public Optional> schemeName() {
        return Optional.ofNullable(this.schemeName);
    }

    /**
     * Specifies the creation order of the hardware RAID.
     * 
     */
    @Import(name="step")
    private @Nullable Output step;

    /**
     * @return Specifies the creation order of the hardware RAID.
     * 
     */
    public Optional> step() {
        return Optional.ofNullable(this.step);
    }

    /**
     * The template name of the partition scheme.
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

    /**
     * @return The template name of the partition scheme.
     * 
     */
    public Optional> templateName() {
        return Optional.ofNullable(this.templateName);
    }

    private InstallationTemplatePartitionSchemeHardwareRaidState() {}

    private InstallationTemplatePartitionSchemeHardwareRaidState(InstallationTemplatePartitionSchemeHardwareRaidState $) {
        this.disks = $.disks;
        this.mode = $.mode;
        this.name = $.name;
        this.schemeName = $.schemeName;
        this.step = $.step;
        this.templateName = $.templateName;
    }

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

    public static final class Builder {
        private InstallationTemplatePartitionSchemeHardwareRaidState $;

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

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

        /**
         * @param disks Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
         * 
         * @return builder
         * 
         */
        public Builder disks(@Nullable Output> disks) {
            $.disks = disks;
            return this;
        }

        /**
         * @param disks Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
         * 
         * @return builder
         * 
         */
        public Builder disks(List disks) {
            return disks(Output.of(disks));
        }

        /**
         * @param disks Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id.
         * 
         * @return builder
         * 
         */
        public Builder disks(String... disks) {
            return disks(List.of(disks));
        }

        /**
         * @param mode RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param name Hardware RAID name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Hardware RAID name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param schemeName The partition scheme name.
         * 
         * @return builder
         * 
         */
        public Builder schemeName(@Nullable Output schemeName) {
            $.schemeName = schemeName;
            return this;
        }

        /**
         * @param schemeName The partition scheme name.
         * 
         * @return builder
         * 
         */
        public Builder schemeName(String schemeName) {
            return schemeName(Output.of(schemeName));
        }

        /**
         * @param step Specifies the creation order of the hardware RAID.
         * 
         * @return builder
         * 
         */
        public Builder step(@Nullable Output step) {
            $.step = step;
            return this;
        }

        /**
         * @param step Specifies the creation order of the hardware RAID.
         * 
         * @return builder
         * 
         */
        public Builder step(Integer step) {
            return step(Output.of(step));
        }

        /**
         * @param templateName The template name of the partition scheme.
         * 
         * @return builder
         * 
         */
        public Builder templateName(@Nullable Output templateName) {
            $.templateName = templateName;
            return this;
        }

        /**
         * @param templateName The template name of the partition scheme.
         * 
         * @return builder
         * 
         */
        public Builder templateName(String templateName) {
            return templateName(Output.of(templateName));
        }

        public InstallationTemplatePartitionSchemeHardwareRaidState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy