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

com.pulumi.azurenative.databox.outputs.ManagedDiskDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.pulumi.azurenative.databox.outputs;

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

@CustomType
public final class ManagedDiskDetailsResponse {
    /**
     * @return Account Type of the data to be transferred.
     * Expected value is 'ManagedDisk'.
     * 
     */
    private String dataAccountType;
    /**
     * @return Resource Group Id of the compute disks.
     * 
     */
    private String resourceGroupId;
    /**
     * @return Resource Id of the storage account that can be used to copy the vhd for staging.
     * 
     */
    private String stagingStorageAccountId;

    private ManagedDiskDetailsResponse() {}
    /**
     * @return Account Type of the data to be transferred.
     * Expected value is 'ManagedDisk'.
     * 
     */
    public String dataAccountType() {
        return this.dataAccountType;
    }
    /**
     * @return Resource Group Id of the compute disks.
     * 
     */
    public String resourceGroupId() {
        return this.resourceGroupId;
    }
    /**
     * @return Resource Id of the storage account that can be used to copy the vhd for staging.
     * 
     */
    public String stagingStorageAccountId() {
        return this.stagingStorageAccountId;
    }

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

    public static Builder builder(ManagedDiskDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dataAccountType;
        private String resourceGroupId;
        private String stagingStorageAccountId;
        public Builder() {}
        public Builder(ManagedDiskDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataAccountType = defaults.dataAccountType;
    	      this.resourceGroupId = defaults.resourceGroupId;
    	      this.stagingStorageAccountId = defaults.stagingStorageAccountId;
        }

        @CustomType.Setter
        public Builder dataAccountType(String dataAccountType) {
            if (dataAccountType == null) {
              throw new MissingRequiredPropertyException("ManagedDiskDetailsResponse", "dataAccountType");
            }
            this.dataAccountType = dataAccountType;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupId(String resourceGroupId) {
            if (resourceGroupId == null) {
              throw new MissingRequiredPropertyException("ManagedDiskDetailsResponse", "resourceGroupId");
            }
            this.resourceGroupId = resourceGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder stagingStorageAccountId(String stagingStorageAccountId) {
            if (stagingStorageAccountId == null) {
              throw new MissingRequiredPropertyException("ManagedDiskDetailsResponse", "stagingStorageAccountId");
            }
            this.stagingStorageAccountId = stagingStorageAccountId;
            return this;
        }
        public ManagedDiskDetailsResponse build() {
            final var _resultValue = new ManagedDiskDetailsResponse();
            _resultValue.dataAccountType = dataAccountType;
            _resultValue.resourceGroupId = resourceGroupId;
            _resultValue.stagingStorageAccountId = stagingStorageAccountId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy