Class CustomerAccountBulkJobSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomerAccountBulkJobSummary.Builder,CustomerAccountBulkJobSummary>
A bulk job in the results of ListCustomerAccountBulkJobs. It includes the job status, the file name, and
the record counts.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the bulk job.builder()final InstantThe date and time when the job finished.final InstantThe date and time when the bulk job was created.final IntegerThe number of accounts imported by this job that have since been deleted.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerThe number of records that failed.final StringThe reason that the job failed.final StringfileName()The name of the file that the job processes.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The unique identifier of the bulk job.final IntegerThe number of records that the job has finished processing.static Class<? extends CustomerAccountBulkJobSummary.Builder> final BulkJobStatusstatus()The current status of the bulk job.final StringThe current status of the bulk job.final IntegerThe number of records that the job processed successfully.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe total number of records in the file.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the bulk job.
- Returns:
- The Amazon Resource Name (ARN) of the bulk job.
-
id
The unique identifier of the bulk job.
- Returns:
- The unique identifier of the bulk job.
-
status
The current status of the bulk job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBulkJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the bulk job.
- See Also:
-
statusAsString
The current status of the bulk job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBulkJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the bulk job.
- See Also:
-
fileName
The name of the file that the job processes.
- Returns:
- The name of the file that the job processes.
-
totalRecords
The total number of records in the file. The value is 0 until the job reads the file.
- Returns:
- The total number of records in the file. The value is 0 until the job reads the file.
-
processedRecords
The number of records that the job has finished processing.
- Returns:
- The number of records that the job has finished processing.
-
successCount
The number of records that the job processed successfully.
- Returns:
- The number of records that the job processed successfully.
-
failureCount
The number of records that failed.
- Returns:
- The number of records that failed.
-
deletedCount
The number of accounts imported by this job that have since been deleted. This counter only increases, so the accounts still present equal
SuccessCountminusDeletedCount.- Returns:
- The number of accounts imported by this job that have since been deleted. This counter only increases, so
the accounts still present equal
SuccessCountminusDeletedCount.
-
failureReason
The reason that the job failed. Present only when the job status is
FAILED.- Returns:
- The reason that the job failed. Present only when the job status is
FAILED.
-
createdAt
The date and time when the bulk job was created.
- Returns:
- The date and time when the bulk job was created.
-
completedAt
The date and time when the job finished. Absent while the job is running.
- Returns:
- The date and time when the job finished. Absent while the job is running.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomerAccountBulkJobSummary.Builder,CustomerAccountBulkJobSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-