Interface CompletionReport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CompletionReport.Builder,CompletionReport>,SdkBuilder<CompletionReport.Builder,CompletionReport>,SdkPojo
- Enclosing class:
- CompletionReport
public static interface CompletionReport.Builder extends SdkPojo, CopyableBuilder<CompletionReport.Builder,CompletionReport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionReport.Builderenabled(Boolean enabled)SetEnabledtoTrueto generate aCompletionReportwhen the task completes.CompletionReport.Builderformat(String format)Required ifEnabledis set totrue.CompletionReport.Builderformat(ReportFormat format)Required ifEnabledis set totrue.CompletionReport.Builderpath(String path)Required ifEnabledis set totrue.CompletionReport.Builderscope(String scope)Required ifEnabledis set totrue.CompletionReport.Builderscope(ReportScope scope)Required ifEnabledis set totrue.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
enabled
CompletionReport.Builder enabled(Boolean enabled)
Set
EnabledtoTrueto generate aCompletionReportwhen the task completes. If set totrue, then you need to provide a reportScope,Path, andFormat. SetEnabledtoFalseif you do not want aCompletionReportgenerated when the task completes.- Parameters:
enabled- SetEnabledtoTrueto generate aCompletionReportwhen the task completes. If set totrue, then you need to provide a reportScope,Path, andFormat. SetEnabledtoFalseif you do not want aCompletionReportgenerated when the task completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
CompletionReport.Builder path(String path)
Required if
Enabledis set totrue. Specifies the location of the report on the file system's linked S3 data repository. An absolute path that defines where the completion report will be stored in the destination location. ThePathyou provide must be located within the file system’s ExportPath. An examplePathvalue is "s3://myBucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode.- Parameters:
path- Required ifEnabledis set totrue. Specifies the location of the report on the file system's linked S3 data repository. An absolute path that defines where the completion report will be stored in the destination location. ThePathyou provide must be located within the file system’s ExportPath. An examplePathvalue is "s3://myBucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
CompletionReport.Builder format(String format)
Required if
Enabledis set totrue. Specifies the format of theCompletionReport.REPORT_CSV_20191124is the only format currently supported. WhenFormatis set toREPORT_CSV_20191124, theCompletionReportis provided in CSV format, and is delivered to{path}/task-{id}/failures.csv.- Parameters:
format- Required ifEnabledis set totrue. Specifies the format of theCompletionReport.REPORT_CSV_20191124is the only format currently supported. WhenFormatis set toREPORT_CSV_20191124, theCompletionReportis provided in CSV format, and is delivered to{path}/task-{id}/failures.csv.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportFormat,ReportFormat
-
format
CompletionReport.Builder format(ReportFormat format)
Required if
Enabledis set totrue. Specifies the format of theCompletionReport.REPORT_CSV_20191124is the only format currently supported. WhenFormatis set toREPORT_CSV_20191124, theCompletionReportis provided in CSV format, and is delivered to{path}/task-{id}/failures.csv.- Parameters:
format- Required ifEnabledis set totrue. Specifies the format of theCompletionReport.REPORT_CSV_20191124is the only format currently supported. WhenFormatis set toREPORT_CSV_20191124, theCompletionReportis provided in CSV format, and is delivered to{path}/task-{id}/failures.csv.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportFormat,ReportFormat
-
scope
CompletionReport.Builder scope(String scope)
Required if
Enabledis set totrue. Specifies the scope of theCompletionReport;FAILED_FILES_ONLYis the only scope currently supported. WhenScopeis set toFAILED_FILES_ONLY, theCompletionReportonly contains information about files that the data repository task failed to process.- Parameters:
scope- Required ifEnabledis set totrue. Specifies the scope of theCompletionReport;FAILED_FILES_ONLYis the only scope currently supported. WhenScopeis set toFAILED_FILES_ONLY, theCompletionReportonly contains information about files that the data repository task failed to process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportScope,ReportScope
-
scope
CompletionReport.Builder scope(ReportScope scope)
Required if
Enabledis set totrue. Specifies the scope of theCompletionReport;FAILED_FILES_ONLYis the only scope currently supported. WhenScopeis set toFAILED_FILES_ONLY, theCompletionReportonly contains information about files that the data repository task failed to process.- Parameters:
scope- Required ifEnabledis set totrue. Specifies the scope of theCompletionReport;FAILED_FILES_ONLYis the only scope currently supported. WhenScopeis set toFAILED_FILES_ONLY, theCompletionReportonly contains information about files that the data repository task failed to process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportScope,ReportScope
-
-