sdk/java/src/main/java/com/pulumi/ovh/Dedicated/NasHAPartitionSnapshotArgs.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/Dedicated/NasHAPartitionSnapshotArgs.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.Dedicated;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final NasHAPartitionSnapshotArgs Empty = new NasHAPartitionSnapshotArgs();

    /**
     * name of the partition
     * 
     */
    @Import(name="partitionName", required=true)
    private Output<String> partitionName;

    /**
     * @return name of the partition
     * 
     */
    public Output<String> partitionName() {
        return this.partitionName;
    }

    /**
     * The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
     * 
     */
    @Import(name="serviceName", required=true)
    private Output<String> serviceName;

    /**
     * @return The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
     * 
     */
    public Output<String> serviceName() {
        return this.serviceName;
    }

    /**
     * Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
     * 
     */
    @Import(name="type", required=true)
    private Output<String> type;

    /**
     * @return Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
     * 
     */
    public Output<String> type() {
        return this.type;
    }

    private NasHAPartitionSnapshotArgs() {}

    private NasHAPartitionSnapshotArgs(NasHAPartitionSnapshotArgs $) {
        this.partitionName = $.partitionName;
        this.serviceName = $.serviceName;
        this.type = $.type;
    }

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

    public static final class Builder {
        private NasHAPartitionSnapshotArgs $;

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

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

        /**
         * @param partitionName name of the partition
         * 
         * @return builder
         * 
         */
        public Builder partitionName(Output<String> partitionName) {
            $.partitionName = partitionName;
            return this;
        }

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

        /**
         * @param serviceName The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output<String> serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param type Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
         * 
         * @return builder
         * 
         */
        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public NasHAPartitionSnapshotArgs build() {
            $.partitionName = Objects.requireNonNull($.partitionName, "expected parameter 'partitionName' to be non-null");
            $.serviceName = Objects.requireNonNull($.serviceName, "expected parameter 'serviceName' to be non-null");
            $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null");
            return $;
        }
    }

}
