Class ImportFileTaskInformation
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.ImportFileTaskInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportFileTaskInformation.Builder,ImportFileTaskInformation>
@Generated("software.amazon.awssdk:codegen") public final class ImportFileTaskInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportFileTaskInformation.Builder,ImportFileTaskInformation>
Information about the import file tasks you request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportFileTaskInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportFileTaskInformation.Builderbuilder()InstantcompletionTime()The time that the import task completes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the import file task.StringimportName()The name of the import task given inStartImportFileTask.StringinputS3Bucket()The S3 bucket where the import file is located.StringinputS3Key()The Amazon S3 key name of the import file.IntegernumberOfRecordsFailed()The number of records that failed to be imported.IntegernumberOfRecordsSuccess()The number of records successfully imported.List<SdkField<?>>sdkFields()static Class<? extends ImportFileTaskInformation.Builder>serializableBuilderClass()InstantstartTime()Start time of the import task.ImportFileTaskStatusstatus()Status of import file task.StringstatusAsString()Status of import file task.StringstatusReportS3Bucket()The S3 bucket name for status report of import task.StringstatusReportS3Key()The Amazon S3 key name for status report of import task.ImportFileTaskInformation.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
-
completionTime
public final Instant completionTime()
The time that the import task completes.
- Returns:
- The time that the import task completes.
-
id
public final String id()
The ID of the import file task.
- Returns:
- The ID of the import file task.
-
importName
public final String importName()
The name of the import task given in
StartImportFileTask.- Returns:
- The name of the import task given in
StartImportFileTask.
-
inputS3Bucket
public final String inputS3Bucket()
The S3 bucket where the import file is located.
- Returns:
- The S3 bucket where the import file is located.
-
inputS3Key
public final String inputS3Key()
The Amazon S3 key name of the import file.
- Returns:
- The Amazon S3 key name of the import file.
-
numberOfRecordsFailed
public final Integer numberOfRecordsFailed()
The number of records that failed to be imported.
- Returns:
- The number of records that failed to be imported.
-
numberOfRecordsSuccess
public final Integer numberOfRecordsSuccess()
The number of records successfully imported.
- Returns:
- The number of records successfully imported.
-
startTime
public final Instant startTime()
Start time of the import task.
- Returns:
- Start time of the import task.
-
status
public final ImportFileTaskStatus status()
Status of import file task.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportFileTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of import file task.
- See Also:
ImportFileTaskStatus
-
statusAsString
public final String statusAsString()
Status of import file task.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportFileTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of import file task.
- See Also:
ImportFileTaskStatus
-
statusReportS3Bucket
public final String statusReportS3Bucket()
The S3 bucket name for status report of import task.
- Returns:
- The S3 bucket name for status report of import task.
-
statusReportS3Key
public final String statusReportS3Key()
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
- Returns:
- The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
-
toBuilder
public ImportFileTaskInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportFileTaskInformation.Builder,ImportFileTaskInformation>
-
builder
public static ImportFileTaskInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportFileTaskInformation.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.
-
-