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

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

There is a newer version: 2.78.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.azurenative.databox.outputs.CloudErrorResponse;
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.List;
import java.util.Objects;

@CustomType
public final class CopyProgressResponse {
    /**
     * @return Id of the account where the data needs to be uploaded.
     * 
     */
    private String accountId;
    /**
     * @return Available actions on the job.
     * 
     */
    private List actions;
    /**
     * @return To indicate bytes transferred.
     * 
     */
    private Double bytesProcessed;
    /**
     * @return Data Account Type.
     * 
     */
    private String dataAccountType;
    /**
     * @return To indicate directories errored out in the job.
     * 
     */
    private Double directoriesErroredOut;
    /**
     * @return Error, if any, in the stage
     * 
     */
    private CloudErrorResponse error;
    /**
     * @return Number of files which could not be copied
     * 
     */
    private Double filesErroredOut;
    /**
     * @return Number of files processed
     * 
     */
    private Double filesProcessed;
    /**
     * @return To indicate directories renamed
     * 
     */
    private Double invalidDirectoriesProcessed;
    /**
     * @return Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    private Double invalidFileBytesUploaded;
    /**
     * @return Number of files not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    private Double invalidFilesProcessed;
    /**
     * @return To indicate if enumeration of data is in progress.
     * Until this is true, the TotalBytesToProcess may not be valid.
     * 
     */
    private Boolean isEnumerationInProgress;
    /**
     * @return Number of folders not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    private Double renamedContainerCount;
    /**
     * @return Name of the storage account. This will be empty for data account types other than storage account.
     * 
     */
    private String storageAccountName;
    /**
     * @return Total amount of data to be processed by the job.
     * 
     */
    private Double totalBytesToProcess;
    /**
     * @return Total files to process
     * 
     */
    private Double totalFilesToProcess;
    /**
     * @return Transfer type of data
     * 
     */
    private String transferType;

    private CopyProgressResponse() {}
    /**
     * @return Id of the account where the data needs to be uploaded.
     * 
     */
    public String accountId() {
        return this.accountId;
    }
    /**
     * @return Available actions on the job.
     * 
     */
    public List actions() {
        return this.actions;
    }
    /**
     * @return To indicate bytes transferred.
     * 
     */
    public Double bytesProcessed() {
        return this.bytesProcessed;
    }
    /**
     * @return Data Account Type.
     * 
     */
    public String dataAccountType() {
        return this.dataAccountType;
    }
    /**
     * @return To indicate directories errored out in the job.
     * 
     */
    public Double directoriesErroredOut() {
        return this.directoriesErroredOut;
    }
    /**
     * @return Error, if any, in the stage
     * 
     */
    public CloudErrorResponse error() {
        return this.error;
    }
    /**
     * @return Number of files which could not be copied
     * 
     */
    public Double filesErroredOut() {
        return this.filesErroredOut;
    }
    /**
     * @return Number of files processed
     * 
     */
    public Double filesProcessed() {
        return this.filesProcessed;
    }
    /**
     * @return To indicate directories renamed
     * 
     */
    public Double invalidDirectoriesProcessed() {
        return this.invalidDirectoriesProcessed;
    }
    /**
     * @return Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    public Double invalidFileBytesUploaded() {
        return this.invalidFileBytesUploaded;
    }
    /**
     * @return Number of files not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    public Double invalidFilesProcessed() {
        return this.invalidFilesProcessed;
    }
    /**
     * @return To indicate if enumeration of data is in progress.
     * Until this is true, the TotalBytesToProcess may not be valid.
     * 
     */
    public Boolean isEnumerationInProgress() {
        return this.isEnumerationInProgress;
    }
    /**
     * @return Number of folders not adhering to azure naming conventions which were processed by automatic renaming
     * 
     */
    public Double renamedContainerCount() {
        return this.renamedContainerCount;
    }
    /**
     * @return Name of the storage account. This will be empty for data account types other than storage account.
     * 
     */
    public String storageAccountName() {
        return this.storageAccountName;
    }
    /**
     * @return Total amount of data to be processed by the job.
     * 
     */
    public Double totalBytesToProcess() {
        return this.totalBytesToProcess;
    }
    /**
     * @return Total files to process
     * 
     */
    public Double totalFilesToProcess() {
        return this.totalFilesToProcess;
    }
    /**
     * @return Transfer type of data
     * 
     */
    public String transferType() {
        return this.transferType;
    }

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

    public static Builder builder(CopyProgressResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accountId;
        private List actions;
        private Double bytesProcessed;
        private String dataAccountType;
        private Double directoriesErroredOut;
        private CloudErrorResponse error;
        private Double filesErroredOut;
        private Double filesProcessed;
        private Double invalidDirectoriesProcessed;
        private Double invalidFileBytesUploaded;
        private Double invalidFilesProcessed;
        private Boolean isEnumerationInProgress;
        private Double renamedContainerCount;
        private String storageAccountName;
        private Double totalBytesToProcess;
        private Double totalFilesToProcess;
        private String transferType;
        public Builder() {}
        public Builder(CopyProgressResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accountId = defaults.accountId;
    	      this.actions = defaults.actions;
    	      this.bytesProcessed = defaults.bytesProcessed;
    	      this.dataAccountType = defaults.dataAccountType;
    	      this.directoriesErroredOut = defaults.directoriesErroredOut;
    	      this.error = defaults.error;
    	      this.filesErroredOut = defaults.filesErroredOut;
    	      this.filesProcessed = defaults.filesProcessed;
    	      this.invalidDirectoriesProcessed = defaults.invalidDirectoriesProcessed;
    	      this.invalidFileBytesUploaded = defaults.invalidFileBytesUploaded;
    	      this.invalidFilesProcessed = defaults.invalidFilesProcessed;
    	      this.isEnumerationInProgress = defaults.isEnumerationInProgress;
    	      this.renamedContainerCount = defaults.renamedContainerCount;
    	      this.storageAccountName = defaults.storageAccountName;
    	      this.totalBytesToProcess = defaults.totalBytesToProcess;
    	      this.totalFilesToProcess = defaults.totalFilesToProcess;
    	      this.transferType = defaults.transferType;
        }

        @CustomType.Setter
        public Builder accountId(String accountId) {
            if (accountId == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "accountId");
            }
            this.accountId = accountId;
            return this;
        }
        @CustomType.Setter
        public Builder actions(List actions) {
            if (actions == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "actions");
            }
            this.actions = actions;
            return this;
        }
        public Builder actions(String... actions) {
            return actions(List.of(actions));
        }
        @CustomType.Setter
        public Builder bytesProcessed(Double bytesProcessed) {
            if (bytesProcessed == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "bytesProcessed");
            }
            this.bytesProcessed = bytesProcessed;
            return this;
        }
        @CustomType.Setter
        public Builder dataAccountType(String dataAccountType) {
            if (dataAccountType == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "dataAccountType");
            }
            this.dataAccountType = dataAccountType;
            return this;
        }
        @CustomType.Setter
        public Builder directoriesErroredOut(Double directoriesErroredOut) {
            if (directoriesErroredOut == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "directoriesErroredOut");
            }
            this.directoriesErroredOut = directoriesErroredOut;
            return this;
        }
        @CustomType.Setter
        public Builder error(CloudErrorResponse error) {
            if (error == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "error");
            }
            this.error = error;
            return this;
        }
        @CustomType.Setter
        public Builder filesErroredOut(Double filesErroredOut) {
            if (filesErroredOut == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "filesErroredOut");
            }
            this.filesErroredOut = filesErroredOut;
            return this;
        }
        @CustomType.Setter
        public Builder filesProcessed(Double filesProcessed) {
            if (filesProcessed == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "filesProcessed");
            }
            this.filesProcessed = filesProcessed;
            return this;
        }
        @CustomType.Setter
        public Builder invalidDirectoriesProcessed(Double invalidDirectoriesProcessed) {
            if (invalidDirectoriesProcessed == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "invalidDirectoriesProcessed");
            }
            this.invalidDirectoriesProcessed = invalidDirectoriesProcessed;
            return this;
        }
        @CustomType.Setter
        public Builder invalidFileBytesUploaded(Double invalidFileBytesUploaded) {
            if (invalidFileBytesUploaded == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "invalidFileBytesUploaded");
            }
            this.invalidFileBytesUploaded = invalidFileBytesUploaded;
            return this;
        }
        @CustomType.Setter
        public Builder invalidFilesProcessed(Double invalidFilesProcessed) {
            if (invalidFilesProcessed == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "invalidFilesProcessed");
            }
            this.invalidFilesProcessed = invalidFilesProcessed;
            return this;
        }
        @CustomType.Setter
        public Builder isEnumerationInProgress(Boolean isEnumerationInProgress) {
            if (isEnumerationInProgress == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "isEnumerationInProgress");
            }
            this.isEnumerationInProgress = isEnumerationInProgress;
            return this;
        }
        @CustomType.Setter
        public Builder renamedContainerCount(Double renamedContainerCount) {
            if (renamedContainerCount == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "renamedContainerCount");
            }
            this.renamedContainerCount = renamedContainerCount;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountName(String storageAccountName) {
            if (storageAccountName == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "storageAccountName");
            }
            this.storageAccountName = storageAccountName;
            return this;
        }
        @CustomType.Setter
        public Builder totalBytesToProcess(Double totalBytesToProcess) {
            if (totalBytesToProcess == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "totalBytesToProcess");
            }
            this.totalBytesToProcess = totalBytesToProcess;
            return this;
        }
        @CustomType.Setter
        public Builder totalFilesToProcess(Double totalFilesToProcess) {
            if (totalFilesToProcess == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "totalFilesToProcess");
            }
            this.totalFilesToProcess = totalFilesToProcess;
            return this;
        }
        @CustomType.Setter
        public Builder transferType(String transferType) {
            if (transferType == null) {
              throw new MissingRequiredPropertyException("CopyProgressResponse", "transferType");
            }
            this.transferType = transferType;
            return this;
        }
        public CopyProgressResponse build() {
            final var _resultValue = new CopyProgressResponse();
            _resultValue.accountId = accountId;
            _resultValue.actions = actions;
            _resultValue.bytesProcessed = bytesProcessed;
            _resultValue.dataAccountType = dataAccountType;
            _resultValue.directoriesErroredOut = directoriesErroredOut;
            _resultValue.error = error;
            _resultValue.filesErroredOut = filesErroredOut;
            _resultValue.filesProcessed = filesProcessed;
            _resultValue.invalidDirectoriesProcessed = invalidDirectoriesProcessed;
            _resultValue.invalidFileBytesUploaded = invalidFileBytesUploaded;
            _resultValue.invalidFilesProcessed = invalidFilesProcessed;
            _resultValue.isEnumerationInProgress = isEnumerationInProgress;
            _resultValue.renamedContainerCount = renamedContainerCount;
            _resultValue.storageAccountName = storageAccountName;
            _resultValue.totalBytesToProcess = totalBytesToProcess;
            _resultValue.totalFilesToProcess = totalFilesToProcess;
            _resultValue.transferType = transferType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy