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

com.pulumi.azurenative.recoveryservices.inputs.HyperVReplicaAzureDiskInputDetailsArgs Maven / Gradle / Ivy

The 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.recoveryservices.inputs;

import com.pulumi.azurenative.recoveryservices.enums.DiskAccountType;
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;


/**
 * Disk input details.
 * 
 */
public final class HyperVReplicaAzureDiskInputDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final HyperVReplicaAzureDiskInputDetailsArgs Empty = new HyperVReplicaAzureDiskInputDetailsArgs();

    /**
     * The DiskEncryptionSet ARM ID.
     * 
     */
    @Import(name="diskEncryptionSetId")
    private @Nullable Output diskEncryptionSetId;

    /**
     * @return The DiskEncryptionSet ARM ID.
     * 
     */
    public Optional> diskEncryptionSetId() {
        return Optional.ofNullable(this.diskEncryptionSetId);
    }

    /**
     * The DiskId.
     * 
     */
    @Import(name="diskId")
    private @Nullable Output diskId;

    /**
     * @return The DiskId.
     * 
     */
    public Optional> diskId() {
        return Optional.ofNullable(this.diskId);
    }

    /**
     * The DiskType.
     * 
     */
    @Import(name="diskType")
    private @Nullable Output> diskType;

    /**
     * @return The DiskType.
     * 
     */
    public Optional>> diskType() {
        return Optional.ofNullable(this.diskType);
    }

    /**
     * The LogStorageAccountId.
     * 
     */
    @Import(name="logStorageAccountId")
    private @Nullable Output logStorageAccountId;

    /**
     * @return The LogStorageAccountId.
     * 
     */
    public Optional> logStorageAccountId() {
        return Optional.ofNullable(this.logStorageAccountId);
    }

    private HyperVReplicaAzureDiskInputDetailsArgs() {}

    private HyperVReplicaAzureDiskInputDetailsArgs(HyperVReplicaAzureDiskInputDetailsArgs $) {
        this.diskEncryptionSetId = $.diskEncryptionSetId;
        this.diskId = $.diskId;
        this.diskType = $.diskType;
        this.logStorageAccountId = $.logStorageAccountId;
    }

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

    public static final class Builder {
        private HyperVReplicaAzureDiskInputDetailsArgs $;

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

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

        /**
         * @param diskEncryptionSetId The DiskEncryptionSet ARM ID.
         * 
         * @return builder
         * 
         */
        public Builder diskEncryptionSetId(@Nullable Output diskEncryptionSetId) {
            $.diskEncryptionSetId = diskEncryptionSetId;
            return this;
        }

        /**
         * @param diskEncryptionSetId The DiskEncryptionSet ARM ID.
         * 
         * @return builder
         * 
         */
        public Builder diskEncryptionSetId(String diskEncryptionSetId) {
            return diskEncryptionSetId(Output.of(diskEncryptionSetId));
        }

        /**
         * @param diskId The DiskId.
         * 
         * @return builder
         * 
         */
        public Builder diskId(@Nullable Output diskId) {
            $.diskId = diskId;
            return this;
        }

        /**
         * @param diskId The DiskId.
         * 
         * @return builder
         * 
         */
        public Builder diskId(String diskId) {
            return diskId(Output.of(diskId));
        }

        /**
         * @param diskType The DiskType.
         * 
         * @return builder
         * 
         */
        public Builder diskType(@Nullable Output> diskType) {
            $.diskType = diskType;
            return this;
        }

        /**
         * @param diskType The DiskType.
         * 
         * @return builder
         * 
         */
        public Builder diskType(Either diskType) {
            return diskType(Output.of(diskType));
        }

        /**
         * @param diskType The DiskType.
         * 
         * @return builder
         * 
         */
        public Builder diskType(String diskType) {
            return diskType(Either.ofLeft(diskType));
        }

        /**
         * @param diskType The DiskType.
         * 
         * @return builder
         * 
         */
        public Builder diskType(DiskAccountType diskType) {
            return diskType(Either.ofRight(diskType));
        }

        /**
         * @param logStorageAccountId The LogStorageAccountId.
         * 
         * @return builder
         * 
         */
        public Builder logStorageAccountId(@Nullable Output logStorageAccountId) {
            $.logStorageAccountId = logStorageAccountId;
            return this;
        }

        /**
         * @param logStorageAccountId The LogStorageAccountId.
         * 
         * @return builder
         * 
         */
        public Builder logStorageAccountId(String logStorageAccountId) {
            return logStorageAccountId(Output.of(logStorageAccountId));
        }

        public HyperVReplicaAzureDiskInputDetailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy