Class AssumeRoleForPodIdentityResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.eksauth.model.EksAuthResponse
-
- software.amazon.awssdk.services.eksauth.model.AssumeRoleForPodIdentityResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>
@Generated("software.amazon.awssdk:codegen") public final class AssumeRoleForPodIdentityResponse extends EksAuthResponse implements ToCopyableBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssumeRoleForPodIdentityResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssumedRoleUserassumedRoleUser()An object with the permanent IAM role identity and the temporary session name.Stringaudience()The identity that is allowed to use the credentials.static AssumeRoleForPodIdentityResponse.Builderbuilder()Credentialscredentials()The Amazon Web Services Signature Version 4 type of temporary credentials.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PodIdentityAssociationpodIdentityAssociation()The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.List<SdkField<?>>sdkFields()static Class<? extends AssumeRoleForPodIdentityResponse.Builder>serializableBuilderClass()Subjectsubject()The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.AssumeRoleForPodIdentityResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.eksauth.model.EksAuthResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
subject
public final Subject subject()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
- Returns:
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
-
audience
public final String audience()
The identity that is allowed to use the credentials. This value is always
pods.eks.amazonaws.com.- Returns:
- The identity that is allowed to use the credentials. This value is always
pods.eks.amazonaws.com.
-
podIdentityAssociation
public final PodIdentityAssociation podIdentityAssociation()
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
- Returns:
- The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
-
assumedRoleUser
public final AssumedRoleUser assumedRoleUser()
An object with the permanent IAM role identity and the temporary session name.
The ARN of the IAM role that the temporary credentials authenticate to.
The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (
:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format:eks-clustername-podname-random UUID- Returns:
- An object with the permanent IAM role identity and the temporary session name.
The ARN of the IAM role that the temporary credentials authenticate to.
The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (
:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format:eks-clustername-podname-random UUID
-
credentials
public final Credentials credentials()
The Amazon Web Services Signature Version 4 type of temporary credentials.
- Returns:
- The Amazon Web Services Signature Version 4 type of temporary credentials.
-
toBuilder
public AssumeRoleForPodIdentityResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static AssumeRoleForPodIdentityResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssumeRoleForPodIdentityResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-