Class BatchWriteOperation

java.lang.Object
software.amazon.awssdk.services.clouddirectory.model.BatchWriteOperation
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>

@Generated("software.amazon.awssdk:codegen") public final class BatchWriteOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>

Represents the output of a BatchWrite operation.

See Also:
  • Method Details

    • createObject

      public final BatchCreateObject createObject()

      Creates an object.

      Returns:
      Creates an object.
    • attachObject

      public final BatchAttachObject attachObject()

      Attaches an object to a Directory.

      Returns:
      Attaches an object to a Directory.
    • detachObject

      public final BatchDetachObject detachObject()

      Detaches an object from a Directory.

      Returns:
      Detaches an object from a Directory.
    • updateObjectAttributes

      public final BatchUpdateObjectAttributes updateObjectAttributes()

      Updates a given object's attributes.

      Returns:
      Updates a given object's attributes.
    • deleteObject

      public final BatchDeleteObject deleteObject()

      Deletes an object in a Directory.

      Returns:
      Deletes an object in a Directory.
    • addFacetToObject

      public final BatchAddFacetToObject addFacetToObject()

      A batch operation that adds a facet to an object.

      Returns:
      A batch operation that adds a facet to an object.
    • removeFacetFromObject

      public final BatchRemoveFacetFromObject removeFacetFromObject()

      A batch operation that removes a facet from an object.

      Returns:
      A batch operation that removes a facet from an object.
    • attachPolicy

      public final BatchAttachPolicy attachPolicy()

      Attaches a policy object to a regular object. An object can have a limited number of attached policies.

      Returns:
      Attaches a policy object to a regular object. An object can have a limited number of attached policies.
    • detachPolicy

      public final BatchDetachPolicy detachPolicy()

      Detaches a policy from a Directory.

      Returns:
      Detaches a policy from a Directory.
    • createIndex

      public final BatchCreateIndex createIndex()

      Creates an index object. See Indexing and search for more information.

      Returns:
      Creates an index object. See Indexing and search for more information.
    • attachToIndex

      public final BatchAttachToIndex attachToIndex()

      Attaches the specified object to the specified index.

      Returns:
      Attaches the specified object to the specified index.
    • detachFromIndex

      public final BatchDetachFromIndex detachFromIndex()

      Detaches the specified object from the specified index.

      Returns:
      Detaches the specified object from the specified index.
    • attachTypedLink

      public final BatchAttachTypedLink attachTypedLink()

      Attaches a typed link to a specified source and target object. For more information, see Typed Links.

      Returns:
      Attaches a typed link to a specified source and target object. For more information, see Typed Links.
    • detachTypedLink

      public final BatchDetachTypedLink detachTypedLink()

      Detaches a typed link from a specified source and target object. For more information, see Typed Links.

      Returns:
      Detaches a typed link from a specified source and target object. For more information, see Typed Links.
    • updateLinkAttributes

      public final BatchUpdateLinkAttributes updateLinkAttributes()

      Updates a given object's attributes.

      Returns:
      Updates a given object's attributes.
    • toBuilder

      public BatchWriteOperation.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>
      Returns:
      a builder for type T
    • builder

      public static BatchWriteOperation.Builder builder()
    • serializableBuilderClass

      public static Class<? extends BatchWriteOperation.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.