Interface GetJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJobResponse.Builder,,GetJobResponse> EndUserMessagingResponse.Builder,SdkBuilder<GetJobResponse.Builder,,GetJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionbrandProfileId(String brandProfileId) The brand profile that the job operates on.The time when the resource was created, in Unix epoch time.A machine-readable code that identifies why the job failed.errorMessage(String errorMessage) A human-readable description of why the job failed.The unique identifier of the asynchronous job.operationType(String operationType) The type of mutating operation that created the job.resources(Collection<JobResource> resources) The resources that were created or updated by the job.resources(Consumer<JobResource.Builder>... resources) The resources that were created or updated by the job.resources(JobResource... resources) The resources that were created or updated by the job.The current lifecycle status of the job.The current lifecycle status of the job.The time when the resource was last updated, in Unix epoch time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.endusermessaging.model.EndUserMessagingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobId
The unique identifier of the asynchronous job. Use the GetJob operation to check the status of the job and to retrieve its results.
- Parameters:
jobId- The unique identifier of the asynchronous job. Use the GetJob operation to check the status of the job and to retrieve its results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the job.
- Parameters:
status- The current lifecycle status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle status of the job.
- Parameters:
status- The current lifecycle status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
The type of mutating operation that created the job.
- Parameters:
operationType- The type of mutating operation that created the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when the resource was created, in Unix epoch time.
- Parameters:
createdAt- The time when the resource was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the resource was last updated, in Unix epoch time.
- Parameters:
updatedAt- The time when the resource was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brandProfileId
The brand profile that the job operates on. This value is absent for operations that create a brand profile.
- Parameters:
brandProfileId- The brand profile that the job operates on. This value is absent for operations that create a brand profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
A machine-readable code that identifies why the job failed. This value is present only when the job status is FAILED.
- Parameters:
errorCode- A machine-readable code that identifies why the job failed. This value is present only when the job status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A human-readable description of why the job failed. This value is present only when the job status is FAILED.
- Parameters:
errorMessage- A human-readable description of why the job failed. This value is present only when the job status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources that were created or updated by the job.
- Parameters:
resources- The resources that were created or updated by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources that were created or updated by the job.
- Parameters:
resources- The resources that were created or updated by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources that were created or updated by the job.
This is a convenience method that creates an instance of theJobResource.Builderavoiding the need to create one manually viaJobResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<JobResource>).- Parameters:
resources- a consumer that will call methods onJobResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-