Class BeginTransactionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rdsdata.model.RdsDataRequest
-
- software.amazon.awssdk.services.rdsdata.model.BeginTransactionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<BeginTransactionRequest.Builder,BeginTransactionRequest>
@Generated("software.amazon.awssdk:codegen") public final class BeginTransactionRequest extends RdsDataRequest implements ToCopyableBuilder<BeginTransactionRequest.Builder,BeginTransactionRequest>
The request parameters represent the input of a request to start a SQL transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBeginTransactionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BeginTransactionRequest.Builderbuilder()Stringdatabase()The name of the database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.Stringschema()The name of the database schema.List<SdkField<?>>sdkFields()StringsecretArn()The name or ARN of the secret that enables access to the DB cluster.static Class<? extends BeginTransactionRequest.Builder>serializableBuilderClass()BeginTransactionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
- Returns:
- The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
-
secretArn
public final String secretArn()
The name or ARN of the secret that enables access to the DB cluster.
- Returns:
- The name or ARN of the secret that enables access to the DB cluster.
-
database
public final String database()
The name of the database.
- Returns:
- The name of the database.
-
schema
public final String schema()
The name of the database schema.
- Returns:
- The name of the database schema.
-
toBuilder
public BeginTransactionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BeginTransactionRequest.Builder,BeginTransactionRequest>- Specified by:
toBuilderin classRdsDataRequest
-
builder
public static BeginTransactionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends BeginTransactionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-