Class TaskReportConfig
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.TaskReportConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskReportConfig.Builder,TaskReportConfig>
@Generated("software.amazon.awssdk:codegen") public final class TaskReportConfig extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskReportConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskReportConfig.Builderbuilder()ReportDestinationdestination()Specifies the Amazon S3 bucket where DataSync uploads your task report.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ObjectVersionIdsobjectVersionIds()Specifies whether your task report includes the new version of each object transferred into an S3 bucket.StringobjectVersionIdsAsString()Specifies whether your task report includes the new version of each object transferred into an S3 bucket.ReportOutputTypeoutputType()Specifies the type of task report that you want:StringoutputTypeAsString()Specifies the type of task report that you want:ReportOverridesoverrides()Customizes the reporting level for aspects of your task report.ReportLevelreportLevel()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.StringreportLevelAsString()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.List<SdkField<?>>sdkFields()static Class<? extends TaskReportConfig.Builder>serializableBuilderClass()TaskReportConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destination
public final ReportDestination 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
public final ReportOutputType 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:
ReportOutputType
-
-
outputTypeAsString
public final String 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:
ReportOutputType
-
-
reportLevel
public final ReportLevel 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:
ReportLevel
-
-
reportLevelAsString
public final String 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:
ReportLevel
-
-
objectVersionIds
public final ObjectVersionIds 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:
ObjectVersionIds
-
objectVersionIdsAsString
public final String 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:
ObjectVersionIds
-
overrides
public final ReportOverrides 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
public TaskReportConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskReportConfig.Builder,TaskReportConfig>
-
builder
public static TaskReportConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskReportConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-