Interface ServiceJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceJobSummary.Builder,
,ServiceJobSummary> SdkBuilder<ServiceJobSummary.Builder,
,ServiceJobSummary> SdkPojo
- Enclosing class:
ServiceJobSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Unix timestamp (in milliseconds) for when the service job was created.The Amazon Resource Name (ARN) of the service job.The job ID for the service job.The name of the service job.default ServiceJobSummary.Builder
latestAttempt
(Consumer<LatestServiceJobAttempt.Builder> latestAttempt) Information about the latest attempt for the service job.latestAttempt
(LatestServiceJobAttempt latestAttempt) Information about the latest attempt for the service job.serviceJobType
(String serviceJobType) The type of service job.serviceJobType
(ServiceJobType serviceJobType) The type of service job.shareIdentifier
(String shareIdentifier) The share identifier for the 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 string to provide more details on the current status of the service job.The Unix timestamp (in milliseconds) for when the service job stopped running.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
-
Method Details
-
latestAttempt
Information about the latest attempt for the service job.
- Parameters:
latestAttempt
- Information about the latest attempt for the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAttempt
default ServiceJobSummary.Builder latestAttempt(Consumer<LatestServiceJobAttempt.Builder> latestAttempt) Information about the latest attempt for 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:
-
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.
-
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.
-
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:
-
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 string to provide more details on the current status of the service job.
- Parameters:
statusReason
- A short string to provide more details on the current status of the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-