Interface ConditionCheck.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConditionCheck.Builder,ConditionCheck>, SdkBuilder<ConditionCheck.Builder,ConditionCheck>, SdkPojo
Enclosing class:
ConditionCheck

public static interface ConditionCheck.Builder extends SdkPojo, CopyableBuilder<ConditionCheck.Builder,ConditionCheck>
  • Method Details

    • key

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

      Parameters:
      key - The primary key of the item to be checked. 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

      ConditionCheck.Builder tableName(String tableName)

      Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

      Parameters:
      tableName - Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditionExpression

      ConditionCheck.Builder conditionExpression(String conditionExpression)

      A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.

      Parameters:
      conditionExpression - A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expressionAttributeNames

      ConditionCheck.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)

      One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.

      Parameters:
      expressionAttributeNames - One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expressionAttributeValues

      ConditionCheck.Builder expressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)

      One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.

      Parameters:
      expressionAttributeValues - One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • returnValuesOnConditionCheckFailure

      ConditionCheck.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)

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

      Parameters:
      returnValuesOnConditionCheckFailure - Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck 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

      ConditionCheck.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)

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

      Parameters:
      returnValuesOnConditionCheckFailure - Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck 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: