Interface ServiceJobAttemptDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceJobAttemptDetail.Builder,
,ServiceJobAttemptDetail> SdkBuilder<ServiceJobAttemptDetail.Builder,
,ServiceJobAttemptDetail> SdkPojo
- Enclosing class:
ServiceJobAttemptDetail
@Mutable
@NotThreadSafe
public static interface ServiceJobAttemptDetail.Builder
extends SdkPojo, CopyableBuilder<ServiceJobAttemptDetail.Builder,ServiceJobAttemptDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceJobAttemptDetail.Builder
serviceResourceId
(Consumer<ServiceResourceId.Builder> serviceResourceId) The service resource identifier associated with the service job attempt.serviceResourceId
(ServiceResourceId serviceResourceId) The service resource identifier associated with the service job attempt.The Unix timestamp (in milliseconds) for when the service job attempt was started.statusReason
(String statusReason) A string that provides additional details for the current status of the service job attempt.The Unix timestamp (in milliseconds) for when the service job attempt 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
-
serviceResourceId
The service resource identifier associated with the service job attempt.
- Parameters:
serviceResourceId
- The service resource identifier associated with the service job attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceResourceId
default ServiceJobAttemptDetail.Builder serviceResourceId(Consumer<ServiceResourceId.Builder> serviceResourceId) The service resource identifier associated with the service job attempt.
This is a convenience method that creates an instance of theServiceResourceId.Builder
avoiding the need to create one manually viaServiceResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceResourceId(ServiceResourceId)
.- Parameters:
serviceResourceId
- a consumer that will call methods onServiceResourceId.Builder
- 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 attempt was started.
- Parameters:
startedAt
- The Unix timestamp (in milliseconds) for when the service job attempt 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 attempt stopped running.
- Parameters:
stoppedAt
- The Unix timestamp (in milliseconds) for when the service job attempt stopped running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
A string that provides additional details for the current status of the service job attempt.
- Parameters:
statusReason
- A string that provides additional details for the current status of the service job attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-