Interface TaskManagedEBSVolumeTerminationPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,,TaskManagedEBSVolumeTerminationPolicy> SdkBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,,TaskManagedEBSVolumeTerminationPolicy> SdkPojo
- Enclosing class:
TaskManagedEBSVolumeTerminationPolicy
@Mutable
@NotThreadSafe
public static interface TaskManagedEBSVolumeTerminationPolicy.Builder
extends SdkPojo, CopyableBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,TaskManagedEBSVolumeTerminationPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondeleteOnTermination(Boolean deleteOnTermination) Indicates whether the volume should be deleted on when the task stops.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deleteOnTermination
Indicates whether the volume should be deleted on when the task stops. If a value of
trueis specified, Amazon ECS deletes the Amazon EBS volume on your behalf when the task goes into theSTOPPEDstate. If no value is specified, the default value istrueis used. When set tofalse, Amazon ECS leaves the volume in your account.- Parameters:
deleteOnTermination- Indicates whether the volume should be deleted on when the task stops. If a value oftrueis specified, Amazon ECS deletes the Amazon EBS volume on your behalf when the task goes into theSTOPPEDstate. If no value is specified, the default value istrueis used. When set tofalse, Amazon ECS leaves the volume in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-