sdk/java/src/main/java/com/pulumi/ovh/Me/outputs/GetInstallationTemplatePartitionSchemeHardwareRaid.java
// *** 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.ovh.Me.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetInstallationTemplatePartitionSchemeHardwareRaid {
    /**
     * @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.
     * 
     */
    private List<String> disks;
    /**
     * @return RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
     * 
     */
    private String mode;
    /**
     * @return Hardware RAID name.
     * 
     */
    private String name;
    /**
     * @return Specifies the creation order of the hardware RAID.
     * 
     */
    private Integer step;

    private GetInstallationTemplatePartitionSchemeHardwareRaid() {}
    /**
     * @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 List<String> disks() {
        return this.disks;
    }
    /**
     * @return RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60).
     * 
     */
    public String mode() {
        return this.mode;
    }
    /**
     * @return Hardware RAID name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Specifies the creation order of the hardware RAID.
     * 
     */
    public Integer step() {
        return this.step;
    }

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

    public static Builder builder(GetInstallationTemplatePartitionSchemeHardwareRaid defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> disks;
        private String mode;
        private String name;
        private Integer step;
        public Builder() {}
        public Builder(GetInstallationTemplatePartitionSchemeHardwareRaid defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.disks = defaults.disks;
    	      this.mode = defaults.mode;
    	      this.name = defaults.name;
    	      this.step = defaults.step;
        }

        @CustomType.Setter
        public Builder disks(List<String> disks) {
            this.disks = Objects.requireNonNull(disks);
            return this;
        }
        public Builder disks(String... disks) {
            return disks(List.of(disks));
        }
        @CustomType.Setter
        public Builder mode(String mode) {
            this.mode = Objects.requireNonNull(mode);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder step(Integer step) {
            this.step = Objects.requireNonNull(step);
            return this;
        }
        public GetInstallationTemplatePartitionSchemeHardwareRaid build() {
            final var o = new GetInstallationTemplatePartitionSchemeHardwareRaid();
            o.disks = disks;
            o.mode = mode;
            o.name = name;
            o.step = step;
            return o;
        }
    }
}
