@Generated(value="software.amazon.awssdk:codegen") public final class S3ObjectLockLegalHold extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3ObjectLockLegalHold.Builder,S3ObjectLockLegalHold>
Whether S3 Object Lock legal hold will be applied to objects in an S3 Batch Operations job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3ObjectLockLegalHold.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3ObjectLockLegalHold.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3ObjectLockLegalHold.Builder> |
serializableBuilderClass() |
S3ObjectLockLegalHoldStatus |
status()
The Object Lock legal hold status to be applied to all objects in the Batch Operations job.
|
String |
statusAsString()
The Object Lock legal hold status to be applied to all objects in the Batch Operations job.
|
S3ObjectLockLegalHold.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3ObjectLockLegalHoldStatus status()
The Object Lock legal hold status to be applied to all objects in the Batch Operations job.
If the service returns an enum value that is not available in the current SDK version, status will
return S3ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
S3ObjectLockLegalHoldStatuspublic final String statusAsString()
The Object Lock legal hold status to be applied to all objects in the Batch Operations job.
If the service returns an enum value that is not available in the current SDK version, status will
return S3ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
S3ObjectLockLegalHoldStatuspublic S3ObjectLockLegalHold.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3ObjectLockLegalHold.Builder,S3ObjectLockLegalHold>public static S3ObjectLockLegalHold.Builder builder()
public static Class<? extends S3ObjectLockLegalHold.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.