Class GetImportFileTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse
-
- software.amazon.awssdk.services.migrationhubstrategy.model.GetImportFileTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetImportFileTaskResponse.Builder,GetImportFileTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetImportFileTaskResponse extends MigrationHubStrategyResponse implements ToCopyableBuilder<GetImportFileTaskResponse.Builder,GetImportFileTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetImportFileTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetImportFileTaskResponse.Builderbuilder()InstantcompletionTime()The time that the import task completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The import file taskidreturned in the response of StartImportFileTask.StringimportName()The name of the import task given in StartImportFileTask.StringinputS3Bucket()The S3 bucket where 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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetImportFileTaskResponse.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.GetImportFileTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 completed.
- Returns:
- The time that the import task completed.
-
id
public final String id()
The import file task
idreturned in the response of StartImportFileTask.- Returns:
- The import file task
idreturned in the response of StartImportFileTask.
-
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 import file is located.
- Returns:
- The S3 bucket where 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 GetImportFileTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetImportFileTaskResponse.Builder,GetImportFileTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetImportFileTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetImportFileTaskResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-