Interface AssumeRoleForPodIdentityResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>,EksAuthResponse.Builder,SdkBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssumeRoleForPodIdentityResponse
public static interface AssumeRoleForPodIdentityResponse.Builder extends EksAuthResponse.Builder, SdkPojo, CopyableBuilder<AssumeRoleForPodIdentityResponse.Builder,AssumeRoleForPodIdentityResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssumeRoleForPodIdentityResponse.BuilderassumedRoleUser(Consumer<AssumedRoleUser.Builder> assumedRoleUser)An object with the permanent IAM role identity and the temporary session name.AssumeRoleForPodIdentityResponse.BuilderassumedRoleUser(AssumedRoleUser assumedRoleUser)An object with the permanent IAM role identity and the temporary session name.AssumeRoleForPodIdentityResponse.Builderaudience(String audience)The identity that is allowed to use the credentials.default AssumeRoleForPodIdentityResponse.Buildercredentials(Consumer<Credentials.Builder> credentials)The Amazon Web Services Signature Version 4 type of temporary credentials.AssumeRoleForPodIdentityResponse.Buildercredentials(Credentials credentials)The Amazon Web Services Signature Version 4 type of temporary credentials.default AssumeRoleForPodIdentityResponse.BuilderpodIdentityAssociation(Consumer<PodIdentityAssociation.Builder> podIdentityAssociation)The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.AssumeRoleForPodIdentityResponse.BuilderpodIdentityAssociation(PodIdentityAssociation podIdentityAssociation)The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.default AssumeRoleForPodIdentityResponse.Buildersubject(Consumer<Subject.Builder> subject)The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.AssumeRoleForPodIdentityResponse.Buildersubject(Subject subject)The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eksauth.model.EksAuthResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
subject
AssumeRoleForPodIdentityResponse.Builder subject(Subject subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
- Parameters:
subject- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
default AssumeRoleForPodIdentityResponse.Builder subject(Consumer<Subject.Builder> subject)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
This is a convenience method that creates an instance of theSubject.Builderavoiding the need to create one manually viaSubject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubject(Subject).- Parameters:
subject- a consumer that will call methods onSubject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subject(Subject)
-
audience
AssumeRoleForPodIdentityResponse.Builder audience(String audience)
The identity that is allowed to use the credentials. This value is always
pods.eks.amazonaws.com.- Parameters:
audience- The identity that is allowed to use the credentials. This value is alwayspods.eks.amazonaws.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
podIdentityAssociation
AssumeRoleForPodIdentityResponse.Builder podIdentityAssociation(PodIdentityAssociation podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
- Parameters:
podIdentityAssociation- The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
podIdentityAssociation
default AssumeRoleForPodIdentityResponse.Builder podIdentityAssociation(Consumer<PodIdentityAssociation.Builder> podIdentityAssociation)
The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
This is a convenience method that creates an instance of thePodIdentityAssociation.Builderavoiding the need to create one manually viaPodIdentityAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topodIdentityAssociation(PodIdentityAssociation).- Parameters:
podIdentityAssociation- a consumer that will call methods onPodIdentityAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
podIdentityAssociation(PodIdentityAssociation)
-
assumedRoleUser
AssumeRoleForPodIdentityResponse.Builder assumedRoleUser(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- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
assumedRoleUser
default AssumeRoleForPodIdentityResponse.Builder assumedRoleUser(Consumer<AssumedRoleUser.Builder> 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 (
This is a convenience method that creates an instance of the:), 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 UUIDAssumedRoleUser.Builderavoiding the need to create one manually viaAssumedRoleUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassumedRoleUser(AssumedRoleUser).- Parameters:
assumedRoleUser- a consumer that will call methods onAssumedRoleUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assumedRoleUser(AssumedRoleUser)
-
credentials
AssumeRoleForPodIdentityResponse.Builder credentials(Credentials credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
- Parameters:
credentials- The Amazon Web Services Signature Version 4 type of temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default AssumeRoleForPodIdentityResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The Amazon Web Services Signature Version 4 type of temporary credentials.
This is a convenience method that creates an instance of theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(Credentials).- Parameters:
credentials- a consumer that will call methods onCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
credentials(Credentials)
-
-