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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServiceJobAttemptDetail.BuilderserviceResourceId(Consumer<ServiceResourceId.Builder> serviceResourceId)The service resource identifier associated with the service job attempt.ServiceJobAttemptDetail.BuilderserviceResourceId(ServiceResourceId serviceResourceId)The service resource identifier associated with the service job attempt.ServiceJobAttemptDetail.BuilderstartedAt(Long startedAt)The Unix timestamp (in milliseconds) for when the service job attempt was started.ServiceJobAttemptDetail.BuilderstatusReason(String statusReason)A string that provides additional details for the current status of the service job attempt.ServiceJobAttemptDetail.BuilderstoppedAt(Long stoppedAt)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 Detail
-
serviceResourceId
ServiceJobAttemptDetail.Builder serviceResourceId(ServiceResourceId 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.Builderavoiding the need to create one manually viaServiceResourceId.builder().When the
Consumercompletes,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:
serviceResourceId(ServiceResourceId)
-
startedAt
ServiceJobAttemptDetail.Builder startedAt(Long 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
ServiceJobAttemptDetail.Builder stoppedAt(Long 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
ServiceJobAttemptDetail.Builder statusReason(String 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.
-
-