Interface RetentionPeriod.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RetentionPeriod.Builder,RetentionPeriod>,SdkBuilder<RetentionPeriod.Builder,RetentionPeriod>,SdkPojo
- Enclosing class:
- RetentionPeriod
public static interface RetentionPeriod.Builder extends SdkPojo, CopyableBuilder<RetentionPeriod.Builder,RetentionPeriod>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetentionPeriod.Buildertype(String type)Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume.RetentionPeriod.Buildertype(RetentionPeriodType type)Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume.RetentionPeriod.Buildervalue(Integer value)Defines the amount of time for the retention period of an FSx for ONTAP SnapLock 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
-
type
RetentionPeriod.Builder type(String type)
Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to
INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period.- Parameters:
type- Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it toINFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionPeriodType,RetentionPeriodType
-
type
RetentionPeriod.Builder type(RetentionPeriodType type)
Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to
INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period.- Parameters:
type- Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it toINFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionPeriodType,RetentionPeriodType
-
value
RetentionPeriod.Builder value(Integer value)
Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. You can't set a value for
INFINITEorUNSPECIFIED. For all other options, the following ranges are valid:-
Seconds: 0 - 65,535 -
Minutes: 0 - 65,535 -
Hours: 0 - 24 -
Days: 0 - 365 -
Months: 0 - 12 -
Years: 0 - 100
- Parameters:
value- Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. You can't set a value forINFINITEorUNSPECIFIED. For all other options, the following ranges are valid:-
Seconds: 0 - 65,535 -
Minutes: 0 - 65,535 -
Hours: 0 - 24 -
Days: 0 - 365 -
Months: 0 - 12 -
Years: 0 - 100
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-