Interface Delete.Builder

    • Method Detail

      • key

        Delete.Builder key​(Map<String,​AttributeValue> key)

        The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.

        Parameters:
        key - The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tableName

        Delete.Builder tableName​(String tableName)

        Name of the table in which the item to be deleted resides.

        Parameters:
        tableName - Name of the table in which the item to be deleted resides.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditionExpression

        Delete.Builder conditionExpression​(String conditionExpression)

        A condition that must be satisfied in order for a conditional delete to succeed.

        Parameters:
        conditionExpression - A condition that must be satisfied in order for a conditional delete to succeed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expressionAttributeNames

        Delete.Builder expressionAttributeNames​(Map<String,​String> expressionAttributeNames)

        One or more substitution tokens for attribute names in an expression.

        Parameters:
        expressionAttributeNames - One or more substitution tokens for attribute names in an expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expressionAttributeValues

        Delete.Builder expressionAttributeValues​(Map<String,​AttributeValue> expressionAttributeValues)

        One or more values that can be substituted in an expression.

        Parameters:
        expressionAttributeValues - One or more values that can be substituted in an expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • returnValuesOnConditionCheckFailure

        Delete.Builder returnValuesOnConditionCheckFailure​(String returnValuesOnConditionCheckFailure)

        Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

        Parameters:
        returnValuesOnConditionCheckFailure - Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReturnValuesOnConditionCheckFailure, ReturnValuesOnConditionCheckFailure
      • returnValuesOnConditionCheckFailure

        Delete.Builder returnValuesOnConditionCheckFailure​(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)

        Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

        Parameters:
        returnValuesOnConditionCheckFailure - Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReturnValuesOnConditionCheckFailure, ReturnValuesOnConditionCheckFailure