Interface TaskManagedEBSVolumeTerminationPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,TaskManagedEBSVolumeTerminationPolicy>,SdkBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,TaskManagedEBSVolumeTerminationPolicy>,SdkPojo
- Enclosing class:
- TaskManagedEBSVolumeTerminationPolicy
public static interface TaskManagedEBSVolumeTerminationPolicy.Builder extends SdkPojo, CopyableBuilder<TaskManagedEBSVolumeTerminationPolicy.Builder,TaskManagedEBSVolumeTerminationPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskManagedEBSVolumeTerminationPolicy.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the volume should be deleted on when the task stops.-
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, sdkFields
-
-
-
-
Method Detail
-
deleteOnTermination
TaskManagedEBSVolumeTerminationPolicy.Builder deleteOnTermination(Boolean 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.
-
-