Class OpportunityBulkJobSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpportunityBulkJobSummary.Builder,OpportunityBulkJobSummary>
The status, record counts, and input file name of an opportunity bulk job.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe date and time, in UTC, when the bulk job finished.final InstantThe date and time, in UTC, when you created the bulk job.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 bulk job failed.final StringfileName()The name of the input file that started the bulk job.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringjobId()The unique identifier of the bulk job.final BulkOperationTypeIndicates whether the bulk job creates or updates opportunities, based on the template of the input file.final StringIndicates whether the bulk job creates or updates opportunities, based on the template of the input file.final IntegerThe number of records that Partner Central has processed so far.static Class<? extends OpportunityBulkJobSummary.Builder> final InstantThe date and time, in UTC, when the bulk job started processing records.final BulkJobStatusstatus()The current status of the bulk job.final StringThe current status of the bulk job.final IntegerThe number of records that succeeded.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 input file.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jobId
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:
-
totalRecords
The total number of records in the input file.
- Returns:
- The total number of records in the input file.
-
processedRecords
The number of records that Partner Central has processed so far.
- Returns:
- The number of records that Partner Central has processed so far.
-
successCount
The number of records that succeeded.
- Returns:
- The number of records that succeeded.
-
failureCount
The number of records that failed.
- Returns:
- The number of records that failed.
-
createdAt
The date and time, in UTC, when you created the bulk job.
- Returns:
- The date and time, in UTC, when you created the bulk job.
-
startedAt
The date and time, in UTC, when the bulk job started processing records.
- Returns:
- The date and time, in UTC, when the bulk job started processing records.
-
completedAt
The date and time, in UTC, when the bulk job finished.
- Returns:
- The date and time, in UTC, when the bulk job finished.
-
failureReason
The reason that the bulk job failed. Present only when
StatusisFAILED.- Returns:
- The reason that the bulk job failed. Present only when
StatusisFAILED.
-
fileName
The name of the input file that started the bulk job. Use it to identify the job by its file.
- Returns:
- The name of the input file that started the bulk job. Use it to identify the job by its file.
-
operationType
Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
If the service returns an enum value that is not available in the current SDK version,
operationTypewill returnBulkOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationTypeAsString().- Returns:
- Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
- See Also:
-
operationTypeAsString
Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
If the service returns an enum value that is not available in the current SDK version,
operationTypewill returnBulkOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationTypeAsString().- Returns:
- Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
- See Also:
-
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<OpportunityBulkJobSummary.Builder,OpportunityBulkJobSummary> - 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.
-