Interface ObjectLockLegalHold.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ObjectLockLegalHold.Builder,ObjectLockLegalHold>,SdkBuilder<ObjectLockLegalHold.Builder,ObjectLockLegalHold>,SdkPojo
- Enclosing class:
- ObjectLockLegalHold
@Mutable @NotThreadSafe public static interface ObjectLockLegalHold.Builder extends SdkPojo, CopyableBuilder<ObjectLockLegalHold.Builder,ObjectLockLegalHold>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectLockLegalHold.Builderstatus(String status)Indicates whether the specified object has a legal hold in place.ObjectLockLegalHold.Builderstatus(ObjectLockLegalHoldStatus status)Indicates whether the specified object has a legal hold in place.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
status
ObjectLockLegalHold.Builder status(String status)
Indicates whether the specified object has a legal hold in place.
- Parameters:
status- Indicates whether the specified object has a legal hold in place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ObjectLockLegalHoldStatus,ObjectLockLegalHoldStatus
-
status
ObjectLockLegalHold.Builder status(ObjectLockLegalHoldStatus status)
Indicates whether the specified object has a legal hold in place.
- Parameters:
status- Indicates whether the specified object has a legal hold in place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ObjectLockLegalHoldStatus,ObjectLockLegalHoldStatus
-
-