Class AwsCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.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 Identity and Access Management credentials.
- 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 IAM access key ID.static AwsCredentials.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Instantexpiration()The expiration date and time of the IAM credentials.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsecretAccessKey()The IAM secret access key.static Class<? extends AwsCredentials.Builder>serializableBuilderClass()StringsessionToken()The IAM session tokenAwsCredentials.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 IAM access key ID.
- Returns:
- The IAM access key ID.
-
expiration
public final Instant expiration()
The expiration date and time of the IAM credentials.
- Returns:
- The expiration date and time of the IAM credentials.
-
secretAccessKey
public final String secretAccessKey()
The IAM secret access key.
- Returns:
- The IAM secret access key.
-
sessionToken
public final String sessionToken()
The IAM session token
- Returns:
- The IAM session token
-
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.
-
-