@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssumeRoleForPodIdentityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssumeRoleForPodIdentityResult() |
Modifier and Type | Method and Description |
---|---|
AssumeRoleForPodIdentityResult |
clone() |
boolean |
equals(Object obj) |
AssumedRoleUser |
getAssumedRoleUser()
An object with the permanent IAM role identity and the temporary session name.
|
String |
getAudience()
The identity that is allowed to use the credentials.
|
Credentials |
getCredentials()
The Amazon Web Services Signature Version 4 type of temporary credentials.
|
PodIdentityAssociation |
getPodIdentityAssociation()
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
|
Subject |
getSubject()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
int |
hashCode() |
void |
setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
An object with the permanent IAM role identity and the temporary session name.
|
void |
setAudience(String audience)
The identity that is allowed to use the credentials.
|
void |
setCredentials(Credentials credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
|
void |
setPodIdentityAssociation(PodIdentityAssociation podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
|
void |
setSubject(Subject subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
String |
toString()
Returns a string representation of this object.
|
AssumeRoleForPodIdentityResult |
withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
An object with the permanent IAM role identity and the temporary session name.
|
AssumeRoleForPodIdentityResult |
withAudience(String audience)
The identity that is allowed to use the credentials.
|
AssumeRoleForPodIdentityResult |
withCredentials(Credentials credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
|
AssumeRoleForPodIdentityResult |
withPodIdentityAssociation(PodIdentityAssociation podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
|
AssumeRoleForPodIdentityResult |
withSubject(Subject subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSubject(Subject subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
subject
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public Subject getSubject()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
public AssumeRoleForPodIdentityResult withSubject(Subject subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
subject
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public void setAudience(String audience)
The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com
.
audience
- The identity that is allowed to use the credentials. This value is always
pods.eks.amazonaws.com
.public String getAudience()
The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com
.
pods.eks.amazonaws.com
.public AssumeRoleForPodIdentityResult withAudience(String audience)
The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com
.
audience
- The identity that is allowed to use the credentials. This value is always
pods.eks.amazonaws.com
.public void setPodIdentityAssociation(PodIdentityAssociation podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
podIdentityAssociation
- The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.public PodIdentityAssociation getPodIdentityAssociation()
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
public AssumeRoleForPodIdentityResult withPodIdentityAssociation(PodIdentityAssociation podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
podIdentityAssociation
- The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.public void setAssumedRoleUser(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
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
public AssumedRoleUser getAssumedRoleUser()
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
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
public AssumeRoleForPodIdentityResult withAssumedRoleUser(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
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
public void setCredentials(Credentials credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
credentials
- The Amazon Web Services Signature Version 4 type of temporary credentials.public Credentials getCredentials()
The Amazon Web Services Signature Version 4 type of temporary credentials.
public AssumeRoleForPodIdentityResult withCredentials(Credentials credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
credentials
- The Amazon Web Services Signature Version 4 type of temporary credentials.public String toString()
toString
in class Object
Object.toString()
public AssumeRoleForPodIdentityResult clone()