Class DefaultS3ExpressSessionCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.s3express.DefaultS3ExpressSessionCredentials
-
- All Implemented Interfaces:
AwsCredentialsIdentity,Identity,S3ExpressSessionCredentials
@SdkInternalApi public class DefaultS3ExpressSessionCredentials extends Object implements S3ExpressSessionCredentials
Default implementation ofS3ExpressSessionCredentials.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity
AwsCredentialsIdentity.Builder
-
-
Constructor Summary
Constructors Constructor Description DefaultS3ExpressSessionCredentials(String accessKeyId, String secretAccessKey, String sessionToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessKeyId()booleanequals(Object o)inthashCode()StringsecretAccessKey()StringsessionToken()Retrieve the S3 express token.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity
accountId
-
Methods inherited from interface software.amazon.awssdk.identity.spi.Identity
expirationTime, providerName
-
-
-
-
Method Detail
-
accessKeyId
public String accessKeyId()
- Specified by:
accessKeyIdin interfaceAwsCredentialsIdentity
-
secretAccessKey
public String secretAccessKey()
- Specified by:
secretAccessKeyin interfaceAwsCredentialsIdentity
-
sessionToken
public String sessionToken()
Description copied from interface:S3ExpressSessionCredentialsRetrieve the S3 express token.- Specified by:
sessionTokenin interfaceS3ExpressSessionCredentials
-
-