Interface DescribeServiceJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<DescribeServiceJobResponse.Builder,
,DescribeServiceJobResponse> SdkBuilder<DescribeServiceJobResponse.Builder,
,DescribeServiceJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeServiceJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionattempts
(Collection<ServiceJobAttemptDetail> attempts) A list of job attempts associated with the service job.attempts
(Consumer<ServiceJobAttemptDetail.Builder>... attempts) A list of job attempts associated with the service job.attempts
(ServiceJobAttemptDetail... attempts) A list of job attempts associated with the service job.The Unix timestamp (in milliseconds) for when the service job was created.isTerminated
(Boolean isTerminated) Indicates whether the service job has been terminated.The Amazon Resource Name (ARN) of the service job.The job ID for the service job.The name of the service job.The ARN of the job queue that the service job is associated with.latestAttempt
(Consumer<LatestServiceJobAttempt.Builder> latestAttempt) The latest attempt associated with the service job.latestAttempt
(LatestServiceJobAttempt latestAttempt) The latest attempt associated with the service job.retryStrategy
(Consumer<ServiceJobRetryStrategy.Builder> retryStrategy) The retry strategy to use for failed service jobs that are submitted with this service job.retryStrategy
(ServiceJobRetryStrategy retryStrategy) The retry strategy to use for failed service jobs that are submitted with this service job.schedulingPriority
(Integer schedulingPriority) The scheduling priority of the service job.serviceJobType
(String serviceJobType) The type of service job.serviceJobType
(ServiceJobType serviceJobType) The type of service job.serviceRequestPayload
(String serviceRequestPayload) The request, in JSON, for the service that theSubmitServiceJob
operation is queueing.shareIdentifier
(String shareIdentifier) The share identifier for the service job.The Unix timestamp (in milliseconds) for when the service job was started.The current status of the service job.status
(ServiceJobStatus status) The current status of the service job.statusReason
(String statusReason) A short, human-readable string to provide more details for the current status of the service job.The Unix timestamp (in milliseconds) for when the service job stopped running.The tags that are associated with the service job.timeoutConfig
(Consumer<ServiceJobTimeout.Builder> timeoutConfig) The timeout configuration for the service job.timeoutConfig
(ServiceJobTimeout timeoutConfig) The timeout configuration for the service job.Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attempts
A list of job attempts associated with the service job.
- Parameters:
attempts
- A list of job attempts associated with the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attempts
A list of job attempts associated with the service job.
- Parameters:
attempts
- A list of job attempts associated with the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attempts
A list of job attempts associated with the service job.
This is a convenience method that creates an instance of theServiceJobAttemptDetail.Builder
avoiding the need to create one manually viaServiceJobAttemptDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattempts(List<ServiceJobAttemptDetail>)
.- Parameters:
attempts
- a consumer that will call methods onServiceJobAttemptDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The Unix timestamp (in milliseconds) for when the service job was created.
- Parameters:
createdAt
- The Unix timestamp (in milliseconds) for when the service job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTerminated
Indicates whether the service job has been terminated.
- Parameters:
isTerminated
- Indicates whether the service job has been terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
The Amazon Resource Name (ARN) of the service job.
- Parameters:
jobArn
- The Amazon Resource Name (ARN) of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID for the service job.
- Parameters:
jobId
- The job ID for the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The name of the service job.
- Parameters:
jobName
- The name of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobQueue
The ARN of the job queue that the service job is associated with.
- Parameters:
jobQueue
- The ARN of the job queue that the service job is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAttempt
The latest attempt associated with the service job.
- Parameters:
latestAttempt
- The latest attempt associated with the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAttempt
default DescribeServiceJobResponse.Builder latestAttempt(Consumer<LatestServiceJobAttempt.Builder> latestAttempt) The latest attempt associated with the service job.
This is a convenience method that creates an instance of theLatestServiceJobAttempt.Builder
avoiding the need to create one manually viaLatestServiceJobAttempt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestAttempt(LatestServiceJobAttempt)
.- Parameters:
latestAttempt
- a consumer that will call methods onLatestServiceJobAttempt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryStrategy
The retry strategy to use for failed service jobs that are submitted with this service job.
- Parameters:
retryStrategy
- The retry strategy to use for failed service jobs that are submitted with this service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryStrategy
default DescribeServiceJobResponse.Builder retryStrategy(Consumer<ServiceJobRetryStrategy.Builder> retryStrategy) The retry strategy to use for failed service jobs that are submitted with this service job.
This is a convenience method that creates an instance of theServiceJobRetryStrategy.Builder
avoiding the need to create one manually viaServiceJobRetryStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryStrategy(ServiceJobRetryStrategy)
.- Parameters:
retryStrategy
- a consumer that will call methods onServiceJobRetryStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedulingPriority
The scheduling priority of the service job.
- Parameters:
schedulingPriority
- The scheduling priority of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRequestPayload
The request, in JSON, for the service that the
SubmitServiceJob
operation is queueing.- Parameters:
serviceRequestPayload
- The request, in JSON, for the service that theSubmitServiceJob
operation is queueing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceJobType
The type of service job. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
.- Parameters:
serviceJobType
- The type of service job. For SageMaker Training jobs, this value isSAGEMAKER_TRAINING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceJobType
The type of service job. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
.- Parameters:
serviceJobType
- The type of service job. For SageMaker Training jobs, this value isSAGEMAKER_TRAINING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The Unix timestamp (in milliseconds) for when the service job was started.
- Parameters:
startedAt
- The Unix timestamp (in milliseconds) for when the service job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the service job.
- Parameters:
status
- The current status of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the service job.
- Parameters:
status
- The current status of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A short, human-readable string to provide more details for the current status of the service job.
- Parameters:
statusReason
- A short, human-readable string to provide more details for the current status of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedAt
The Unix timestamp (in milliseconds) for when the service job stopped running.
- Parameters:
stoppedAt
- The Unix timestamp (in milliseconds) for when the service job stopped running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that are associated with the service job. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.
- Parameters:
tags
- The tags that are associated with the service job. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
The timeout configuration for the service job.
- Parameters:
timeoutConfig
- The timeout configuration for the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
default DescribeServiceJobResponse.Builder timeoutConfig(Consumer<ServiceJobTimeout.Builder> timeoutConfig) The timeout configuration for the service job.
This is a convenience method that creates an instance of theServiceJobTimeout.Builder
avoiding the need to create one manually viaServiceJobTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutConfig(ServiceJobTimeout)
.- Parameters:
timeoutConfig
- a consumer that will call methods onServiceJobTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-