Interface RetentionPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RetentionPolicy.Builder,RetentionPolicy>,SdkBuilder<RetentionPolicy.Builder,RetentionPolicy>,SdkPojo
- Enclosing class:
- RetentionPolicy
public static interface RetentionPolicy.Builder extends SdkPojo, CopyableBuilder<RetentionPolicy.Builder,RetentionPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetentionPolicy.BuilderhomeEfsFileSystem(String homeEfsFileSystem)The default isRetain, which specifies to keep the data stored on the EFS volume.RetentionPolicy.BuilderhomeEfsFileSystem(RetentionType homeEfsFileSystem)The default isRetain, which specifies to keep the data stored on the EFS volume.-
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
-
homeEfsFileSystem
RetentionPolicy.Builder homeEfsFileSystem(String homeEfsFileSystem)
The default is
Retain, which specifies to keep the data stored on the EFS volume.Specify
Deleteto delete the data stored on the EFS volume.- Parameters:
homeEfsFileSystem- The default isRetain, which specifies to keep the data stored on the EFS volume.Specify
Deleteto delete the data stored on the EFS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionType,RetentionType
-
homeEfsFileSystem
RetentionPolicy.Builder homeEfsFileSystem(RetentionType homeEfsFileSystem)
The default is
Retain, which specifies to keep the data stored on the EFS volume.Specify
Deleteto delete the data stored on the EFS volume.- Parameters:
homeEfsFileSystem- The default isRetain, which specifies to keep the data stored on the EFS volume.Specify
Deleteto delete the data stored on the EFS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionType,RetentionType
-
-