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

com.pulumi.aws.datasync.outputs.TaskTaskReportConfigReportOverrides Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.datasync.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TaskTaskReportConfigReportOverrides {
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    private @Nullable String deletedOverride;
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to skip during your transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    private @Nullable String skippedOverride;
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    private @Nullable String transferredOverride;
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     * > **NOTE:** If any `report_overrides` are set to the same value as `task_report_config.report_level`, they will always be flagged as changed. Only set overrides to a value that differs from `task_report_config.report_level`.
     * 
     */
    private @Nullable String verifiedOverride;

    private TaskTaskReportConfigReportOverrides() {}
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    public Optional deletedOverride() {
        return Optional.ofNullable(this.deletedOverride);
    }
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to skip during your transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    public Optional skippedOverride() {
        return Optional.ofNullable(this.skippedOverride);
    }
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     */
    public Optional transferredOverride() {
        return Optional.ofNullable(this.transferredOverride);
    }
    /**
     * @return Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer. Valid values: `ERRORS_ONLY` and `SUCCESSES_AND_ERRORS`.
     * 
     * > **NOTE:** If any `report_overrides` are set to the same value as `task_report_config.report_level`, they will always be flagged as changed. Only set overrides to a value that differs from `task_report_config.report_level`.
     * 
     */
    public Optional verifiedOverride() {
        return Optional.ofNullable(this.verifiedOverride);
    }

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

    public static Builder builder(TaskTaskReportConfigReportOverrides defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String deletedOverride;
        private @Nullable String skippedOverride;
        private @Nullable String transferredOverride;
        private @Nullable String verifiedOverride;
        public Builder() {}
        public Builder(TaskTaskReportConfigReportOverrides defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deletedOverride = defaults.deletedOverride;
    	      this.skippedOverride = defaults.skippedOverride;
    	      this.transferredOverride = defaults.transferredOverride;
    	      this.verifiedOverride = defaults.verifiedOverride;
        }

        @CustomType.Setter
        public Builder deletedOverride(@Nullable String deletedOverride) {

            this.deletedOverride = deletedOverride;
            return this;
        }
        @CustomType.Setter
        public Builder skippedOverride(@Nullable String skippedOverride) {

            this.skippedOverride = skippedOverride;
            return this;
        }
        @CustomType.Setter
        public Builder transferredOverride(@Nullable String transferredOverride) {

            this.transferredOverride = transferredOverride;
            return this;
        }
        @CustomType.Setter
        public Builder verifiedOverride(@Nullable String verifiedOverride) {

            this.verifiedOverride = verifiedOverride;
            return this;
        }
        public TaskTaskReportConfigReportOverrides build() {
            final var _resultValue = new TaskTaskReportConfigReportOverrides();
            _resultValue.deletedOverride = deletedOverride;
            _resultValue.skippedOverride = skippedOverride;
            _resultValue.transferredOverride = transferredOverride;
            _resultValue.verifiedOverride = verifiedOverride;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy