Class UpdateItemEnhancedRequest<T>

    • Method Detail

      • builder

        public static <T> UpdateItemEnhancedRequest.Builder<T> builder​(Class<? extends T> itemClass)
        Creates a newly initialized builder for the request object.
        Type Parameters:
        T - The type of the modelled object, corresponding to itemClass
        Parameters:
        itemClass - the class that items in this table map to
        Returns:
        a UpdateItemEnhancedRequest builder
      • item

        public T item()
        Returns the item for this update operation request.
      • ignoreNulls

        public Boolean ignoreNulls()
        Returns if the update operation should ignore attributes with null values, or false if it has not been set.
      • conditionExpression

        public Expression conditionExpression()
        Returns the condition Expression set on this request object, or null if it doesn't exist.
      • returnConsumedCapacityAsString

        public String returnConsumedCapacityAsString()
        Whether to return the capacity consumed by this operation.

        Similar to returnConsumedCapacity() but return the value as a string. This is useful in situations where the value is not defined in ReturnConsumedCapacity.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object