Class AWSSessionCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.AWSSessionCredentials
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>
@Generated("software.amazon.awssdk:codegen") public final class AWSSessionCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAWSSessionCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessKeyId()The access key for the session.static AWSSessionCredentials.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsecretAccessKey()The secret access key for the session.static Class<? extends AWSSessionCredentials.Builder>serializableBuilderClass()StringsessionToken()The token for the session.AWSSessionCredentials.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 access key for the session.
- Returns:
- The access key for the session.
-
secretAccessKey
public final String secretAccessKey()
The secret access key for the session.
- Returns:
- The secret access key for the session.
-
sessionToken
public final String sessionToken()
The token for the session.
- Returns:
- The token for the session.
-
toBuilder
public AWSSessionCredentials.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>
-
builder
public static AWSSessionCredentials.Builder builder()
-
serializableBuilderClass
public static Class<? extends AWSSessionCredentials.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-