Class ExecuteTransactionRequest
- java.lang.Object
- 
- software.amazon.awssdk.core.SdkRequest
- 
- software.amazon.awssdk.awscore.AwsRequest
- 
- software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest
- 
- software.amazon.awssdk.services.dynamodb.model.ExecuteTransactionRequest
 
 
 
 
- 
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<ExecuteTransactionRequest.Builder,ExecuteTransactionRequest>
 
 @Generated("software.amazon.awssdk:codegen") public final class ExecuteTransactionRequest extends DynamoDbRequest implements ToCopyableBuilder<ExecuteTransactionRequest.Builder,ExecuteTransactionRequest> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceExecuteTransactionRequest.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteTransactionRequest.Builderbuilder()StringclientRequestToken()Set this value to get remaining results, ifNextTokenwas returned in the statement response.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTransactStatements()For responses, this returns true if the service returned a value for the TransactStatements property.ReturnConsumedCapacityreturnConsumedCapacity()Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response.StringreturnConsumedCapacityAsString()Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExecuteTransactionRequest.Builder>serializableBuilderClass()ExecuteTransactionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<ParameterizedStatement>transactStatements()The list of PartiQL statements representing the transaction to run.- 
Methods inherited from class software.amazon.awssdk.awscore.AwsRequestoverrideConfiguration
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
 
- 
 
- 
- 
- 
Method Detail- 
hasTransactStatementspublic final boolean hasTransactStatements() For responses, this returns true if the service returned a value for the TransactStatements property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
 - 
transactStatementspublic final List<ParameterizedStatement> transactStatements() The list of PartiQL statements representing the transaction to run. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTransactStatements()method.- Returns:
- The list of PartiQL statements representing the transaction to run.
 
 - 
clientRequestTokenpublic final String clientRequestToken() Set this value to get remaining results, if NextTokenwas returned in the statement response.- Returns:
- Set this value to get remaining results, if NextTokenwas returned in the statement response.
 
 - 
returnConsumedCapacitypublic final ReturnConsumedCapacity returnConsumedCapacity() Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems. If the service returns an enum value that is not available in the current SDK version, returnConsumedCapacitywill returnReturnConsumedCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreturnConsumedCapacityAsString().- Returns:
- Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.
- See Also:
- ReturnConsumedCapacity
 
 - 
returnConsumedCapacityAsStringpublic final String returnConsumedCapacityAsString() Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems. If the service returns an enum value that is not available in the current SDK version, returnConsumedCapacitywill returnReturnConsumedCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreturnConsumedCapacityAsString().- Returns:
- Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.
- See Also:
- ReturnConsumedCapacity
 
 - 
toBuilderpublic ExecuteTransactionRequest.Builder toBuilder() - Specified by:
- toBuilderin interface- ToCopyableBuilder<ExecuteTransactionRequest.Builder,ExecuteTransactionRequest>
- Specified by:
- toBuilderin class- DynamoDbRequest
 
 - 
builderpublic static ExecuteTransactionRequest.Builder builder() 
 - 
serializableBuilderClasspublic static Class<? extends ExecuteTransactionRequest.Builder> serializableBuilderClass() 
 - 
hashCodepublic final int hashCode() - Overrides:
- hashCodein class- AwsRequest
 
 - 
equalspublic final boolean equals(Object obj) - Overrides:
- equalsin class- AwsRequest
 
 - 
equalsBySdkFieldspublic final boolean equalsBySdkFields(Object obj) - Specified by:
- equalsBySdkFieldsin interface- SdkPojo
 
 - 
toStringpublic final String toString() Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
 - 
getValueForFieldpublic final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) - Overrides:
- getValueForFieldin class- SdkRequest
 
 - 
sdkFieldNameToFieldpublic final Map<String,SdkField<?>> sdkFieldNameToField() - Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
 
 
- 
 
-