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

com.pulumi.azurenative.datareplication.outputs.VMwareToAzStackHCIProtectedDiskPropertiesResponse Maven / Gradle / Ivy

// *** 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.datareplication.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class VMwareToAzStackHCIProtectedDiskPropertiesResponse {
    /**
     * @return Gets or sets the disk capacity in bytes.
     * 
     */
    private Double capacityInBytes;
    /**
     * @return Gets or sets the disk type.
     * 
     */
    private String diskType;
    /**
     * @return Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
     * disk.
     * 
     */
    private Boolean isDynamic;
    /**
     * @return Gets or sets a value indicating whether the disk is the OS disk.
     * 
     */
    private Boolean isOsDisk;
    /**
     * @return Gets or sets the failover clone disk.
     * 
     */
    private String migrateDiskName;
    /**
     * @return Gets or sets the seed disk name.
     * 
     */
    private String seedDiskName;
    /**
     * @return Gets or sets the source disk Id.
     * 
     */
    private String sourceDiskId;
    /**
     * @return Gets or sets the source disk Name.
     * 
     */
    private String sourceDiskName;
    /**
     * @return Gets or sets the ARM Id of the storage container.
     * 
     */
    private String storageContainerId;
    /**
     * @return Gets or sets the local path of the storage container.
     * 
     */
    private String storageContainerLocalPath;
    /**
     * @return Gets or sets the test failover clone disk.
     * 
     */
    private String testMigrateDiskName;

    private VMwareToAzStackHCIProtectedDiskPropertiesResponse() {}
    /**
     * @return Gets or sets the disk capacity in bytes.
     * 
     */
    public Double capacityInBytes() {
        return this.capacityInBytes;
    }
    /**
     * @return Gets or sets the disk type.
     * 
     */
    public String diskType() {
        return this.diskType;
    }
    /**
     * @return Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
     * disk.
     * 
     */
    public Boolean isDynamic() {
        return this.isDynamic;
    }
    /**
     * @return Gets or sets a value indicating whether the disk is the OS disk.
     * 
     */
    public Boolean isOsDisk() {
        return this.isOsDisk;
    }
    /**
     * @return Gets or sets the failover clone disk.
     * 
     */
    public String migrateDiskName() {
        return this.migrateDiskName;
    }
    /**
     * @return Gets or sets the seed disk name.
     * 
     */
    public String seedDiskName() {
        return this.seedDiskName;
    }
    /**
     * @return Gets or sets the source disk Id.
     * 
     */
    public String sourceDiskId() {
        return this.sourceDiskId;
    }
    /**
     * @return Gets or sets the source disk Name.
     * 
     */
    public String sourceDiskName() {
        return this.sourceDiskName;
    }
    /**
     * @return Gets or sets the ARM Id of the storage container.
     * 
     */
    public String storageContainerId() {
        return this.storageContainerId;
    }
    /**
     * @return Gets or sets the local path of the storage container.
     * 
     */
    public String storageContainerLocalPath() {
        return this.storageContainerLocalPath;
    }
    /**
     * @return Gets or sets the test failover clone disk.
     * 
     */
    public String testMigrateDiskName() {
        return this.testMigrateDiskName;
    }

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

    public static Builder builder(VMwareToAzStackHCIProtectedDiskPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double capacityInBytes;
        private String diskType;
        private Boolean isDynamic;
        private Boolean isOsDisk;
        private String migrateDiskName;
        private String seedDiskName;
        private String sourceDiskId;
        private String sourceDiskName;
        private String storageContainerId;
        private String storageContainerLocalPath;
        private String testMigrateDiskName;
        public Builder() {}
        public Builder(VMwareToAzStackHCIProtectedDiskPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.capacityInBytes = defaults.capacityInBytes;
    	      this.diskType = defaults.diskType;
    	      this.isDynamic = defaults.isDynamic;
    	      this.isOsDisk = defaults.isOsDisk;
    	      this.migrateDiskName = defaults.migrateDiskName;
    	      this.seedDiskName = defaults.seedDiskName;
    	      this.sourceDiskId = defaults.sourceDiskId;
    	      this.sourceDiskName = defaults.sourceDiskName;
    	      this.storageContainerId = defaults.storageContainerId;
    	      this.storageContainerLocalPath = defaults.storageContainerLocalPath;
    	      this.testMigrateDiskName = defaults.testMigrateDiskName;
        }

        @CustomType.Setter
        public Builder capacityInBytes(Double capacityInBytes) {
            if (capacityInBytes == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "capacityInBytes");
            }
            this.capacityInBytes = capacityInBytes;
            return this;
        }
        @CustomType.Setter
        public Builder diskType(String diskType) {
            if (diskType == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "diskType");
            }
            this.diskType = diskType;
            return this;
        }
        @CustomType.Setter
        public Builder isDynamic(Boolean isDynamic) {
            if (isDynamic == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "isDynamic");
            }
            this.isDynamic = isDynamic;
            return this;
        }
        @CustomType.Setter
        public Builder isOsDisk(Boolean isOsDisk) {
            if (isOsDisk == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "isOsDisk");
            }
            this.isOsDisk = isOsDisk;
            return this;
        }
        @CustomType.Setter
        public Builder migrateDiskName(String migrateDiskName) {
            if (migrateDiskName == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "migrateDiskName");
            }
            this.migrateDiskName = migrateDiskName;
            return this;
        }
        @CustomType.Setter
        public Builder seedDiskName(String seedDiskName) {
            if (seedDiskName == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "seedDiskName");
            }
            this.seedDiskName = seedDiskName;
            return this;
        }
        @CustomType.Setter
        public Builder sourceDiskId(String sourceDiskId) {
            if (sourceDiskId == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "sourceDiskId");
            }
            this.sourceDiskId = sourceDiskId;
            return this;
        }
        @CustomType.Setter
        public Builder sourceDiskName(String sourceDiskName) {
            if (sourceDiskName == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "sourceDiskName");
            }
            this.sourceDiskName = sourceDiskName;
            return this;
        }
        @CustomType.Setter
        public Builder storageContainerId(String storageContainerId) {
            if (storageContainerId == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "storageContainerId");
            }
            this.storageContainerId = storageContainerId;
            return this;
        }
        @CustomType.Setter
        public Builder storageContainerLocalPath(String storageContainerLocalPath) {
            if (storageContainerLocalPath == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "storageContainerLocalPath");
            }
            this.storageContainerLocalPath = storageContainerLocalPath;
            return this;
        }
        @CustomType.Setter
        public Builder testMigrateDiskName(String testMigrateDiskName) {
            if (testMigrateDiskName == null) {
              throw new MissingRequiredPropertyException("VMwareToAzStackHCIProtectedDiskPropertiesResponse", "testMigrateDiskName");
            }
            this.testMigrateDiskName = testMigrateDiskName;
            return this;
        }
        public VMwareToAzStackHCIProtectedDiskPropertiesResponse build() {
            final var _resultValue = new VMwareToAzStackHCIProtectedDiskPropertiesResponse();
            _resultValue.capacityInBytes = capacityInBytes;
            _resultValue.diskType = diskType;
            _resultValue.isDynamic = isDynamic;
            _resultValue.isOsDisk = isOsDisk;
            _resultValue.migrateDiskName = migrateDiskName;
            _resultValue.seedDiskName = seedDiskName;
            _resultValue.sourceDiskId = sourceDiskId;
            _resultValue.sourceDiskName = sourceDiskName;
            _resultValue.storageContainerId = storageContainerId;
            _resultValue.storageContainerLocalPath = storageContainerLocalPath;
            _resultValue.testMigrateDiskName = testMigrateDiskName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy