@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskReportConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
For more information, see Task reports.
Constructor and Description |
---|
TaskReportConfig() |
Modifier and Type | Method and Description |
---|---|
TaskReportConfig |
clone() |
boolean |
equals(Object obj) |
ReportDestination |
getDestination()
Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
String |
getObjectVersionIds()
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
String |
getOutputType()
Specifies the type of task report that you want:
|
ReportOverrides |
getOverrides()
Customizes the reporting level for aspects of your task report.
|
String |
getReportLevel()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(ReportDestination destination)
Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
void |
setObjectVersionIds(String objectVersionIds)
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
void |
setOutputType(String outputType)
Specifies the type of task report that you want:
|
void |
setOverrides(ReportOverrides overrides)
Customizes the reporting level for aspects of your task report.
|
void |
setReportLevel(String 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 |
toString()
Returns a string representation of this object.
|
TaskReportConfig |
withDestination(ReportDestination destination)
Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
TaskReportConfig |
withObjectVersionIds(ObjectVersionIds objectVersionIds)
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
TaskReportConfig |
withObjectVersionIds(String objectVersionIds)
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
TaskReportConfig |
withOutputType(ReportOutputType outputType)
Specifies the type of task report that you want:
|
TaskReportConfig |
withOutputType(String outputType)
Specifies the type of task report that you want:
|
TaskReportConfig |
withOverrides(ReportOverrides overrides)
Customizes the reporting level for aspects of your task report.
|
TaskReportConfig |
withReportLevel(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.
|
TaskReportConfig |
withReportLevel(String 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.
|
public void setDestination(ReportDestination destination)
Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
destination
- Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task
reports.public ReportDestination getDestination()
Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
public TaskReportConfig withDestination(ReportDestination destination)
Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports.
destination
- Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task
reports.public void setOutputType(String 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.
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.
ReportOutputType
public String getOutputType()
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.
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.
ReportOutputType
public TaskReportConfig withOutputType(String 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.
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.
ReportOutputType
public TaskReportConfig withOutputType(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.
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.
ReportOutputType
public void setReportLevel(String 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.
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.
ReportLevel
public String getReportLevel()
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.
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.
ReportLevel
public TaskReportConfig withReportLevel(String 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.
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.
ReportLevel
public TaskReportConfig withReportLevel(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.
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.
ReportLevel
public void setObjectVersionIds(String 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.
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.ObjectVersionIds
public String getObjectVersionIds()
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.
INCLUDE
can increase the
duration of your task execution.ObjectVersionIds
public TaskReportConfig withObjectVersionIds(String 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.
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.ObjectVersionIds
public TaskReportConfig withObjectVersionIds(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.
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.ObjectVersionIds
public void setOverrides(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.
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 ReportOverrides getOverrides()
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 withOverrides(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.
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 String toString()
toString
in class Object
Object.toString()
public TaskReportConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.