Class GenerateAuthTokenRequest
java.lang.Object
software.amazon.awssdk.services.dsql.model.GenerateAuthTokenRequest
- All Implemented Interfaces:
- ToCopyableBuilder<GenerateAuthTokenRequest.Builder,- GenerateAuthTokenRequest> 
@SdkPublicApi
public final class GenerateAuthTokenRequest
extends Object
implements ToCopyableBuilder<GenerateAuthTokenRequest.Builder,GenerateAuthTokenRequest> 
Input parameters for generating an authentication token for IAM database authentication for DSQL.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceA builder for aGenerateAuthTokenRequest, created withbuilder().
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Creates a builder forDsqlUtilities.IdentityProvider<? extends AwsCredentialsIdentity> booleaninthashCode()hostname()region()Take this object and create a builder that contains all of the current property values of this object.toString()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
toString
- 
equals
- 
hashCode
- 
hostname- Returns:
- The hostname of the database to connect to
 
- 
expiresIn- Returns:
- The token expiry duration
 
- 
region- Returns:
- The region the database is hosted in. If specified, takes precedence over the value specified in
 DsqlUtilities.Builder.region(Region)
 
- 
credentialsProvider- Returns:
- The credentials provider to sign the IAM auth request with. If specified, takes precedence over the value
 specified in DsqlUtilities.Builder.credentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider)}
 
- 
credentialsIdentityProvider- Returns:
- The credentials provider to sign the IAM auth request with. If specified, takes precedence over the value
 specified in DsqlUtilities.Builder.credentialsProvider(AwsCredentialsProvider)}
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<GenerateAuthTokenRequest.Builder,- GenerateAuthTokenRequest> 
- Returns:
- a builder for type T
 
- 
builderCreates a builder forDsqlUtilities.
 
-