Class ImportJob
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.ImportJob
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportJob.Builder,ImportJob>
@Generated("software.amazon.awssdk:codegen") public final class ImportJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportJob.Builder,ImportJob>
Details about an import job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportJob.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressListId()The unique identifier of the address list the import job was created for.static ImportJob.Builderbuilder()InstantcompletedTimestamp()The timestamp of when the import job was completed.InstantcreatedTimestamp()The timestamp of when the import job was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()The reason for failure of an import job.IntegerfailedItemsCount()The number of addresses in the input that failed to get imported into address list.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImportDataFormatimportDataFormat()The format of the input for the import job.IntegerimportedItemsCount()The number of addresses in the input that were successfully imported into the address list.StringjobId()The identifier of the import job.Stringname()A user-friendly name for the import job.StringpreSignedUrl()The pre-signed URL target for uploading the input file.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImportJob.Builder>serializableBuilderClass()InstantstartTimestamp()The timestamp of when the import job was started.ImportJobStatusstatus()The status of the import job.StringstatusAsString()The status of the import job.ImportJob.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
-
addressListId
public final String addressListId()
The unique identifier of the address list the import job was created for.
- Returns:
- The unique identifier of the address list the import job was created for.
-
completedTimestamp
public final Instant completedTimestamp()
The timestamp of when the import job was completed.
- Returns:
- The timestamp of when the import job was completed.
-
createdTimestamp
public final Instant createdTimestamp()
The timestamp of when the import job was created.
- Returns:
- The timestamp of when the import job was created.
-
error
public final String error()
The reason for failure of an import job.
- Returns:
- The reason for failure of an import job.
-
failedItemsCount
public final Integer failedItemsCount()
The number of addresses in the input that failed to get imported into address list.
- Returns:
- The number of addresses in the input that failed to get imported into address list.
-
importDataFormat
public final ImportDataFormat importDataFormat()
The format of the input for the import job.
- Returns:
- The format of the input for the import job.
-
importedItemsCount
public final Integer importedItemsCount()
The number of addresses in the input that were successfully imported into the address list.
- Returns:
- The number of addresses in the input that were successfully imported into the address list.
-
jobId
public final String jobId()
The identifier of the import job.
- Returns:
- The identifier of the import job.
-
name
public final String name()
A user-friendly name for the import job.
- Returns:
- A user-friendly name for the import job.
-
preSignedUrl
public final String preSignedUrl()
The pre-signed URL target for uploading the input file.
- Returns:
- The pre-signed URL target for uploading the input file.
-
startTimestamp
public final Instant startTimestamp()
The timestamp of when the import job was started.
- Returns:
- The timestamp of when the import job was started.
-
status
public final ImportJobStatus status()
The status of the import job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import job.
- See Also:
ImportJobStatus
-
statusAsString
public final String statusAsString()
The status of the import job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import job.
- See Also:
ImportJobStatus
-
toBuilder
public ImportJob.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportJob.Builder,ImportJob>
-
builder
public static ImportJob.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportJob.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
-
-