类 DeleteRequest

  • 所有已实现的接口:
    WriteRequest

    public class DeleteRequest
    extends Object
    implements WriteRequest
    Represents the input of a DeleteItem operation.
    • 构造器详细资料

      • DeleteRequest

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

      • withKey

        public DeleteRequest withKey​(Key key)
        Set the Key object to be deleted for this object.
        参数:
        key - The Key object to be deleted for this object, the type is in Key type.
        返回:
        Returns a reference to the object so that method calls can be chained together.
      • setKey

        public void setKey​(Key key)
        Set the Key object to be deleted for this object.
        参数:
        key - The Key object to be deleted for this object.
      • getKey

        public Key getKey()
        Get the Key object of an attribute, which waits to be deleted.
        返回:
        The Key object of an attribute, which waits to be deleted.
      • toString

        public String toString()
        Return a string representation of the object.
        指定者:
        toString 在接口中 WriteRequest
        覆盖:
        toString 在类中 Object
        返回:
        A string representation of the object.