Class BatchWriteOperationResponse

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

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

Represents the output of a BatchWrite response operation.

See Also:
  • Method Details

    • createObject

      public final BatchCreateObjectResponse createObject()

      Creates an object in a Directory.

      Returns:
      Creates an object in a Directory.
    • attachObject

      public final BatchAttachObjectResponse attachObject()

      Attaches an object to a Directory.

      Returns:
      Attaches an object to a Directory.
    • detachObject

      public final BatchDetachObjectResponse detachObject()

      Detaches an object from a Directory.

      Returns:
      Detaches an object from a Directory.
    • updateObjectAttributes

      public final BatchUpdateObjectAttributesResponse updateObjectAttributes()

      Updates a given object’s attributes.

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

      public final BatchDeleteObjectResponse deleteObject()

      Deletes an object in a Directory.

      Returns:
      Deletes an object in a Directory.
    • addFacetToObject

      public final BatchAddFacetToObjectResponse addFacetToObject()

      The result of an add facet to object batch operation.

      Returns:
      The result of an add facet to object batch operation.
    • removeFacetFromObject

      public final BatchRemoveFacetFromObjectResponse removeFacetFromObject()

      The result of a batch remove facet from object operation.

      Returns:
      The result of a batch remove facet from object operation.
    • attachPolicy

      public final BatchAttachPolicyResponse 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 BatchDetachPolicyResponse detachPolicy()

      Detaches a policy from a Directory.

      Returns:
      Detaches a policy from a Directory.
    • createIndex

      public final BatchCreateIndexResponse 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 BatchAttachToIndexResponse attachToIndex()

      Attaches the specified object to the specified index.

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

      public final BatchDetachFromIndexResponse detachFromIndex()

      Detaches the specified object from the specified index.

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

      public final BatchAttachTypedLinkResponse 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 BatchDetachTypedLinkResponse 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 BatchUpdateLinkAttributesResponse updateLinkAttributes()

      Represents the output of a BatchWrite response operation.

      Returns:
      Represents the output of a BatchWrite response operation.
    • 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<BatchWriteOperationResponse.Builder,BatchWriteOperationResponse>
      Returns:
      a builder for type T
    • builder

      public static BatchWriteOperationResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends BatchWriteOperationResponse.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.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.