Interface ProtectedJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedJobSummary.Builder,
,ProtectedJobSummary> SdkBuilder<ProtectedJobSummary.Builder,
,ProtectedJobSummary> SdkPojo
- Enclosing class:
ProtectedJobSummary
@Mutable
@NotThreadSafe
public static interface ProtectedJobSummary.Builder
extends SdkPojo, CopyableBuilder<ProtectedJobSummary.Builder,ProtectedJobSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreateTime
(Instant createTime) The time the protected job was created.The ID of the protected job.membershipArn
(String membershipArn) The unique ARN for the membership that initiated the protected job.membershipId
(String membershipId) The unique ID for the membership that initiated the protected job.receiverConfigurations
(Collection<ProtectedJobReceiverConfiguration> receiverConfigurations) The receiver configurations for the protected job.receiverConfigurations
(Consumer<ProtectedJobReceiverConfiguration.Builder>... receiverConfigurations) The receiver configurations for the protected job.receiverConfigurations
(ProtectedJobReceiverConfiguration... receiverConfigurations) The receiver configurations for the protected job.The status of the protected job.status
(ProtectedJobStatus status) The status of the protected job.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
-
id
The ID of the protected job.
- Parameters:
id
- The ID of the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipId
The unique ID for the membership that initiated the protected job.
- Parameters:
membershipId
- The unique ID for the membership that initiated the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipArn
The unique ARN for the membership that initiated the protected job.
- Parameters:
membershipArn
- The unique ARN for the membership that initiated the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time the protected job was created.
- Parameters:
createTime
- The time the protected job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the protected job.
- Parameters:
status
- The status of the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the protected job.
- Parameters:
status
- The status of the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
receiverConfigurations
ProtectedJobSummary.Builder receiverConfigurations(Collection<ProtectedJobReceiverConfiguration> receiverConfigurations) The receiver configurations for the protected job.
- Parameters:
receiverConfigurations
- The receiver configurations for the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverConfigurations
ProtectedJobSummary.Builder receiverConfigurations(ProtectedJobReceiverConfiguration... receiverConfigurations) The receiver configurations for the protected job.
- Parameters:
receiverConfigurations
- The receiver configurations for the protected job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverConfigurations
ProtectedJobSummary.Builder receiverConfigurations(Consumer<ProtectedJobReceiverConfiguration.Builder>... receiverConfigurations) The receiver configurations for the protected job.
This is a convenience method that creates an instance of theProtectedJobReceiverConfiguration.Builder
avoiding the need to create one manually viaProtectedJobReceiverConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreceiverConfigurations(List<ProtectedJobReceiverConfiguration>)
.- Parameters:
receiverConfigurations
- a consumer that will call methods onProtectedJobReceiverConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-