@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskReportConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TaskReportConfig.Builder |
builder() |
ReportDestination |
destination()
Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ObjectVersionIds |
objectVersionIds()
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
String |
objectVersionIdsAsString()
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
ReportOutputType |
outputType()
Specifies the type of task report that you want:
|
String |
outputTypeAsString()
Specifies the type of task report that you want:
|
ReportOverrides |
overrides()
Customizes the reporting level for aspects of your task report.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskReportConfig.Builder> |
serializableBuilderClass() |
TaskReportConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ReportDestination destination()
Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
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, outputType will
return ReportOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
outputTypeAsString().
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.
ReportOutputTypepublic 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, outputType will
return ReportOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
outputTypeAsString().
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.
ReportOutputTypepublic 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, reportLevel will
return ReportLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportLevelAsString().
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.
ReportLevelpublic 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, reportLevel will
return ReportLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportLevelAsString().
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.
ReportLevelpublic 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 INCLUDE can increase the duration of your task
execution.
If the service returns an enum value that is not available in the current SDK version, objectVersionIds
will return ObjectVersionIds.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from objectVersionIdsAsString().
INCLUDE can increase the
duration of your task execution.ObjectVersionIdspublic 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 INCLUDE can increase the duration of your task
execution.
If the service returns an enum value that is not available in the current SDK version, objectVersionIds
will return ObjectVersionIds.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from objectVersionIdsAsString().
INCLUDE can increase the
duration of your task execution.ObjectVersionIdspublic 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.
public TaskReportConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskReportConfig.Builder,TaskReportConfig>public static TaskReportConfig.Builder builder()
public static Class<? extends TaskReportConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.