Class BatchAttachPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.BatchAttachPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>
@Generated("software.amazon.awssdk:codegen") public final class BatchAttachPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>
Attaches a policy object to a regular object inside a BatchRead operation. For more information, see AttachPolicy and BatchReadRequest$Operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchAttachPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchAttachPolicy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ObjectReferenceobjectReference()The reference that identifies the object to which the policy will be attached.ObjectReferencepolicyReference()The reference that is associated with the policy object.List<SdkField<?>>sdkFields()static Class<? extends BatchAttachPolicy.Builder>serializableBuilderClass()BatchAttachPolicy.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
-
policyReference
public final ObjectReference policyReference()
The reference that is associated with the policy object.
- Returns:
- The reference that is associated with the policy object.
-
objectReference
public final ObjectReference objectReference()
The reference that identifies the object to which the policy will be attached.
- Returns:
- The reference that identifies the object to which the policy will be attached.
-
toBuilder
public BatchAttachPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>
-
builder
public static BatchAttachPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchAttachPolicy.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.
-
-