Class AwsCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.finspacedata.model.AwsCredentials
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsCredentials.Builder,AwsCredentials>
@Generated("software.amazon.awssdk:codegen") public final class AwsCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCredentials.Builder,AwsCredentials>
The credentials required to access the external Dataview from the S3 location.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessKeyId()The unique identifier for the security credentials.static AwsCredentials.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Longexpiration()The Epoch time when the current credentials expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsecretAccessKey()The secret access key that can be used to sign requests.static Class<? extends AwsCredentials.Builder>serializableBuilderClass()StringsessionToken()The token that users must pass to use the credentials.AwsCredentials.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accessKeyId
public final String accessKeyId()
The unique identifier for the security credentials.
- Returns:
- The unique identifier for the security credentials.
-
secretAccessKey
public final String secretAccessKey()
The secret access key that can be used to sign requests.
- Returns:
- The secret access key that can be used to sign requests.
-
sessionToken
public final String sessionToken()
The token that users must pass to use the credentials.
- Returns:
- The token that users must pass to use the credentials.
-
expiration
public final Long expiration()
The Epoch time when the current credentials expire.
- Returns:
- The Epoch time when the current credentials expire.
-
toBuilder
public AwsCredentials.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsCredentials.Builder,AwsCredentials>
-
builder
public static AwsCredentials.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsCredentials.Builder> serializableBuilderClass()
-
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.
-
-