类 AttributeValueUpdate


  • public class AttributeValueUpdate
    extends Object
    Represents the attributes to be updated in the UpdateItem operation.
    • 构造器详细资料

      • AttributeValueUpdate

        public AttributeValueUpdate()
        Constructs a new AttributeValueUpdate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      • AttributeValueUpdate

        public AttributeValueUpdate​(AttributeValue value,
                                    String action)
        Constructs a new AttributeValueUpdate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        参数:
        value - The attribute value to be updated.
        action - The specified action with the attribute.
    • 方法详细资料

      • setValue

        public void setValue​(AttributeValue value)
        The method set the new value for an attribute waiting for updating.
        参数:
        value - The new attribute value for an attribute waiting for updating.
        另请参阅:
        AttributeValue
      • withValue

        public AttributeValueUpdate withValue​(AttributeValue value)
        The method set the new value for an attribute waiting for updating.
        参数:
        value - The new attribute value for an attribute waiting for updating.
        返回:
        另请参阅:
        AttributeValue
      • getValue

        public AttributeValue getValue()
        The method get the new value set for the attribute waiting for updating.
        返回:
        The new attribute value for an attribute waiting for updating.
      • setAction

        public void setAction​(String action)
        Set the update item operation with specified action. Valid values are PUT and DELETE.
        参数:
        action - The specified action to be set. Valid values are PUT and DELETE.
      • withAction

        public AttributeValueUpdate withAction​(String action)
        Set the update item operation with specified action. Valid values are PUT and DELETE.
        参数:
        action - The specified action to be set. Valid values are PUT and DELETE.
        返回:
        Returns a reference to this object so that method calls can be chained together.
      • getAction

        public String getAction()
        Get the update item operation with specified action. Valid values are PUT and DELETE.
        返回:
        The specified action to be set. Valid values are PUT and DELETE.
      • toString

        public String toString()
        Return a string representation of the object.
        覆盖:
        toString 在类中 Object
        返回:
        A string representation of the object.