Class TaskReportConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskReportConfig.Builder,TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
For more information, see Task reports.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskReportConfig.Builderbuilder()final ReportDestinationSpecifies the Amazon S3 bucket where DataSync uploads your task report.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ObjectVersionIdsSpecifies whether your task report includes the new version of each object transferred into an S3 bucket.final StringSpecifies whether your task report includes the new version of each object transferred into an S3 bucket.final ReportOutputTypeSpecifies the type of task report that you want:final StringSpecifies the type of task report that you want:final ReportOverridesCustomizes the reporting level for aspects of your task report.final ReportLevelSpecifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.final StringSpecifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.static Class<? extends TaskReportConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
destination
Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
- Returns:
- Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
-
outputType
Specifies the type of task report that you want:
-
SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration. -
STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
If the service returns an enum value that is not available in the current SDK version,
outputTypewill returnReportOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputTypeAsString().- Returns:
- Specifies the type of task report that you want:
-
SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration. -
STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
-
- See Also:
-
-
outputTypeAsString
Specifies the type of task report that you want:
-
SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration. -
STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
If the service returns an enum value that is not available in the current SDK version,
outputTypewill returnReportOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputTypeAsString().- Returns:
- Specifies the type of task report that you want:
-
SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration. -
STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
-
- See Also:
-
-
reportLevel
Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
-
ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete. -
SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
If the service returns an enum value that is not available in the current SDK version,
reportLevelwill returnReportLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportLevelAsString().- Returns:
- Specifies whether you want your task report to include only what went wrong with your transfer or a list
of what succeeded and didn't.
-
ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete. -
SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
-
- See Also:
-
-
reportLevelAsString
Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
-
ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete. -
SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
If the service returns an enum value that is not available in the current SDK version,
reportLevelwill returnReportLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportLevelAsString().- Returns:
- Specifies whether you want your task report to include only what went wrong with your transfer or a list
of what succeeded and didn't.
-
ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete. -
SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
-
- See Also:
-
-
objectVersionIds
Specifies whether your task report includes the new version of each object transferred into an S3 bucket. This only applies if you enable versioning on your bucket. Keep in mind that setting this to
INCLUDEcan increase the duration of your task execution.If the service returns an enum value that is not available in the current SDK version,
objectVersionIdswill returnObjectVersionIds.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectVersionIdsAsString().- Returns:
- Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
This only applies if you enable
versioning on your bucket. Keep in mind that setting this to
INCLUDEcan increase the duration of your task execution. - See Also:
-
objectVersionIdsAsString
Specifies whether your task report includes the new version of each object transferred into an S3 bucket. This only applies if you enable versioning on your bucket. Keep in mind that setting this to
INCLUDEcan increase the duration of your task execution.If the service returns an enum value that is not available in the current SDK version,
objectVersionIdswill returnObjectVersionIds.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectVersionIdsAsString().- Returns:
- Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
This only applies if you enable
versioning on your bucket. Keep in mind that setting this to
INCLUDEcan increase the duration of your task execution. - See Also:
-
overrides
Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
- Returns:
- Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskReportConfig.Builder,TaskReportConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-