Interface ProtectedTask.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ProtectedTask.Builder,,- ProtectedTask> - SdkBuilder<ProtectedTask.Builder,,- ProtectedTask> - SdkPojo
- Enclosing class:
- ProtectedTask
@Mutable
@NotThreadSafe
public static interface ProtectedTask.Builder
extends SdkPojo, CopyableBuilder<ProtectedTask.Builder,ProtectedTask> 
- 
Method SummaryModifier and TypeMethodDescriptionexpirationDate(Instant expirationDate) The epoch time when protection for the task will expire.protectionEnabled(Boolean protectionEnabled) The protection status of the task.The task ARN.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
taskArnThe task ARN. - Parameters:
- taskArn- The task ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectionEnabledThe protection status of the task. If scale-in protection is on for a task, the value is true. Otherwise, it isfalse.- Parameters:
- protectionEnabled- The protection status of the task. If scale-in protection is on for a task, the value is- true. Otherwise, it is- false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
expirationDateThe epoch time when protection for the task will expire. - Parameters:
- expirationDate- The epoch time when protection for the task will expire.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-