Class CompletionReport
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.CompletionReport
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CompletionReport.Builder,CompletionReport>
@Generated("software.amazon.awssdk:codegen") public final class CompletionReport extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CompletionReport.Builder,CompletionReport>
Provides a report detailing the data repository task results of the files processed that match the criteria specified in the report
Scopeparameter. FSx delivers the report to the file system's linked data repository in Amazon S3, using the path specified in the reportPathparameter. You can specify whether or not a report gets generated for a task using theEnabledparameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompletionReport.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompletionReport.Builderbuilder()Booleanenabled()SetEnabledtoTrueto generate aCompletionReportwhen the task completes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ReportFormatformat()Required ifEnabledis set totrue.StringformatAsString()Required ifEnabledis set totrue.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()Required ifEnabledis set totrue.ReportScopescope()Required ifEnabledis set totrue.StringscopeAsString()Required ifEnabledis set totrue.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CompletionReport.Builder>serializableBuilderClass()CompletionReport.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
-
enabled
public final 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.- Returns:
- 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.
-
path
public final 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://amzn-s3-demo-bucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode.- Returns:
- 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://amzn-s3-demo-bucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode.
-
format
public final 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.If the service returns an enum value that is not available in the current SDK version,
formatwill returnReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- 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. - See Also:
ReportFormat
-
formatAsString
public final String formatAsString()
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.If the service returns an enum value that is not available in the current SDK version,
formatwill returnReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- 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. - See Also:
ReportFormat
-
scope
public final 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.If the service returns an enum value that is not available in the current SDK version,
scopewill returnReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- 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. - See Also:
ReportScope
-
scopeAsString
public final String scopeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
scopewill returnReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- 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. - See Also:
ReportScope
-
toBuilder
public CompletionReport.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CompletionReport.Builder,CompletionReport>
-
builder
public static CompletionReport.Builder builder()
-
serializableBuilderClass
public static Class<? extends CompletionReport.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-