@Generated(value="software.amazon.awssdk:codegen") public final class GetImportFileTaskResponse extends MigrationHubStrategyResponse implements ToCopyableBuilder<GetImportFileTaskResponse.Builder,GetImportFileTaskResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetImportFileTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetImportFileTaskResponse.Builder |
builder() |
Instant |
completionTime()
The time that the import task completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The import file task
id returned in the response of StartImportFileTask. |
String |
importName()
The name of the import task given in StartImportFileTask.
|
String |
inputS3Bucket()
The S3 bucket where import file is located.
|
String |
inputS3Key()
The Amazon S3 key name of the import file.
|
Integer |
numberOfRecordsFailed()
The number of records that failed to be imported.
|
Integer |
numberOfRecordsSuccess()
The number of records successfully imported.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetImportFileTaskResponse.Builder> |
serializableBuilderClass() |
Instant |
startTime()
Start time of the import task.
|
ImportFileTaskStatus |
status()
Status of import file task.
|
String |
statusAsString()
Status of import file task.
|
String |
statusReportS3Bucket()
The S3 bucket name for status report of import task.
|
String |
statusReportS3Key()
The Amazon S3 key name for status report of import task.
|
GetImportFileTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant completionTime()
The time that the import task completed.
public final String id()
The import file task id returned in the response of StartImportFileTask.
id returned in the response of StartImportFileTask.public final String importName()
The name of the import task given in StartImportFileTask.
public final String inputS3Bucket()
The S3 bucket where import file is located.
public final String inputS3Key()
The Amazon S3 key name of the import file.
public final Integer numberOfRecordsFailed()
The number of records that failed to be imported.
public final Integer numberOfRecordsSuccess()
The number of records successfully imported.
public final Instant startTime()
Start time of the import task.
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, status will
return ImportFileTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ImportFileTaskStatuspublic final String statusAsString()
Status of import file task.
If the service returns an enum value that is not available in the current SDK version, status will
return ImportFileTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ImportFileTaskStatuspublic final String statusReportS3Bucket()
The S3 bucket name for status report of import task.
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.
public GetImportFileTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetImportFileTaskResponse.Builder,GetImportFileTaskResponse>toBuilder in class AwsResponsepublic static GetImportFileTaskResponse.Builder builder()
public static Class<? extends GetImportFileTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.