Class BatchDetachPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.BatchDetachPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchDetachPolicy.Builder,BatchDetachPolicy>
@Generated("software.amazon.awssdk:codegen") public final class BatchDetachPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchDetachPolicy.Builder,BatchDetachPolicy>
Detaches the specified policy from the specified directory inside a BatchWrite operation. For more information, see DetachPolicy and BatchWriteRequest$Operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchDetachPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchDetachPolicy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ObjectReferenceobjectReference()Reference that identifies the object whose policy object will be detached.ObjectReferencepolicyReference()Reference that identifies the policy object.List<SdkField<?>>sdkFields()static Class<? extends BatchDetachPolicy.Builder>serializableBuilderClass()BatchDetachPolicy.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()
Reference that identifies the policy object.
- Returns:
- Reference that identifies the policy object.
-
objectReference
public final ObjectReference objectReference()
Reference that identifies the object whose policy object will be detached.
- Returns:
- Reference that identifies the object whose policy object will be detached.
-
toBuilder
public BatchDetachPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchDetachPolicy.Builder,BatchDetachPolicy>
-
builder
public static BatchDetachPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchDetachPolicy.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.
-
-