Class S3SetObjectLegalHoldOperation
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.S3SetObjectLegalHoldOperation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3SetObjectLegalHoldOperation.Builder,S3SetObjectLegalHoldOperation>
@Generated("software.amazon.awssdk:codegen") public final class S3SetObjectLegalHoldOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3SetObjectLegalHoldOperation.Builder,S3SetObjectLegalHoldOperation>
Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes to every object to the underlying
PutObjectLegalHoldAPI operation. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3SetObjectLegalHoldOperation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3SetObjectLegalHoldOperation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3ObjectLockLegalHoldlegalHold()Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.List<SdkField<?>>sdkFields()static Class<? extends S3SetObjectLegalHoldOperation.Builder>serializableBuilderClass()S3SetObjectLegalHoldOperation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
legalHold
public final S3ObjectLockLegalHold legalHold()
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
- Returns:
- Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
-
toBuilder
public S3SetObjectLegalHoldOperation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3SetObjectLegalHoldOperation.Builder,S3SetObjectLegalHoldOperation>
-
builder
public static S3SetObjectLegalHoldOperation.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3SetObjectLegalHoldOperation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-