public static final class DynamoDeleteItemProps.Builder
extends java.lang.Object
DynamoDeleteItemProps
Constructor and Description |
---|
Builder() |
public DynamoDeleteItemProps.Builder key(java.util.Map<java.lang.String,? extends DynamoAttributeValue> key)
DynamoDeleteItemProps.getKey()
key
- Primary key of the item to retrieve. This parameter is required.
For the primary key, you must provide all of the attributes.
For example, with a simple primary key, you only need to provide a value for the partition key.
For a composite primary key, you must provide values for both the partition key and the sort key.this
public DynamoDeleteItemProps.Builder table(ITable table)
DynamoDeleteItemProps.getTable()
table
- The name of the table containing the requested item. This parameter is required.this
public DynamoDeleteItemProps.Builder conditionExpression(java.lang.String conditionExpression)
DynamoDeleteItemProps.getConditionExpression()
conditionExpression
- A condition that must be satisfied in order for a conditional DeleteItem to succeed.this
public DynamoDeleteItemProps.Builder expressionAttributeNames(java.util.Map<java.lang.String,java.lang.String> expressionAttributeNames)
DynamoDeleteItemProps.getExpressionAttributeNames()
expressionAttributeNames
- One or more substitution tokens for attribute names in an expression.this
public DynamoDeleteItemProps.Builder expressionAttributeValues(java.util.Map<java.lang.String,? extends DynamoAttributeValue> expressionAttributeValues)
DynamoDeleteItemProps.getExpressionAttributeValues()
expressionAttributeValues
- One or more values that can be substituted in an expression.this
public DynamoDeleteItemProps.Builder returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
DynamoDeleteItemProps.getReturnConsumedCapacity()
returnConsumedCapacity
- Determines the level of detail about provisioned throughput consumption that is returned in the response.this
public DynamoDeleteItemProps.Builder returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
DynamoDeleteItemProps.getReturnItemCollectionMetrics()
returnItemCollectionMetrics
- Determines whether item collection metrics are returned.
If set to SIZE, the response includes statistics about item collections, if any,
that were modified during the operation are returned in the response.
If set to NONE (the default), no statistics are returned.this
public DynamoDeleteItemProps.Builder returnValues(DynamoReturnValues returnValues)
DynamoDeleteItemProps.getReturnValues()
returnValues
- Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.this
public DynamoDeleteItemProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public DynamoDeleteItemProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public DynamoDeleteItemProps.Builder inputPath(java.lang.String inputPath)
TaskStateBaseProps.getInputPath()
inputPath
- JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this
public DynamoDeleteItemProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis
public DynamoDeleteItemProps.Builder outputPath(java.lang.String outputPath)
TaskStateBaseProps.getOutputPath()
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this
public DynamoDeleteItemProps.Builder resultPath(java.lang.String resultPath)
TaskStateBaseProps.getResultPath()
resultPath
- JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this
public DynamoDeleteItemProps.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
TaskStateBaseProps.getResultSelector()
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this
public DynamoDeleteItemProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public DynamoDeleteItemProps build()
DynamoDeleteItemProps
java.lang.NullPointerException
- if any required attribute was not provided