Interface S3ObjectLockEventHoldDuration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3ObjectLockEventHoldDuration.Builder,,S3ObjectLockEventHoldDuration> SdkBuilder<S3ObjectLockEventHoldDuration.Builder,,S3ObjectLockEventHoldDuration> SdkPojo
- Enclosing class:
S3ObjectLockEventHoldDuration
@Mutable
@NotThreadSafe
public static interface S3ObjectLockEventHoldDuration.Builder
extends SdkPojo, CopyableBuilder<S3ObjectLockEventHoldDuration.Builder,S3ObjectLockEventHoldDuration>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of days for the event hold duration.The number of years for the event hold duration.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
-
days
The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.
- Parameters:
days- The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
years
The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.
- Parameters:
years- The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-