Interface JobExecutionState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobExecutionState.Builder,JobExecutionState>,SdkBuilder<JobExecutionState.Builder,JobExecutionState>,SdkPojo
- Enclosing class:
- JobExecutionState
public static interface JobExecutionState.Builder extends SdkPojo, CopyableBuilder<JobExecutionState.Builder,JobExecutionState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobExecutionState.Builderstatus(String status)The status of the job execution.JobExecutionState.Builderstatus(JobExecutionStatus status)The status of the job execution.JobExecutionState.BuilderstatusDetails(Map<String,String> statusDetails)A collection of name/value pairs that describe the status of the job execution.JobExecutionState.BuilderversionNumber(Long versionNumber)The version of the job execution.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
status
JobExecutionState.Builder status(String status)
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
- Parameters:
status- The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobExecutionStatus,JobExecutionStatus
-
status
JobExecutionState.Builder status(JobExecutionStatus status)
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
- Parameters:
status- The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobExecutionStatus,JobExecutionStatus
-
statusDetails
JobExecutionState.Builder statusDetails(Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
- Parameters:
statusDetails- A collection of name/value pairs that describe the status of the job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionNumber
JobExecutionState.Builder versionNumber(Long versionNumber)
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
- Parameters:
versionNumber- The version of the job execution. Job execution versions are incremented each time they are updated by a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-