类 DeleteItemRequest


  • public class DeleteItemRequest
    extends AbstractBceRequest
    Represents the input of a DeleteItem operation.
    • 构造器详细资料

      • DeleteItemRequest

        public DeleteItemRequest()
        Constructs a new DeleteItemRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
    • 方法详细资料

      • withTableName

        public DeleteItemRequest withTableName​(String tableName)
        Set the name of the table from which to delete the item.
        参数:
        tableName - The name of the table from which to delete the item.
        返回:
        Returns a reference to the object so that method calls can be chained together.
      • setTableName

        public void setTableName​(String tableName)
        The method set the table name to delete items.
        参数:
        tableName - The name of the table where to delete the items.
      • toString

        public String toString()
        Return a string representation of request information.
        覆盖:
        toString 在类中 Object
        返回:
        A string representation of request information.
      • setKey

        public void setKey​(Key key)
        The method set the Key that used to delete item from the table.
        参数:
        key - The key that used to describe the key field.
      • withKey

        public DeleteItemRequest withKey​(Key key)
        The method set the Key that used to get item from the table.
        参数:
        key - The key that used to describe the key field.
        返回:
        A reference to this object so that method calls can be chained together
      • getTableName

        public String getTableName()
        The method return the table name of this request.
        返回:
        Table name of this request.
      • getKey

        public Key getKey()
        The method return the Key that is used to delete the item.
        返回:
        The Key that is used to locate and delete the item.