@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePodIdentityAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePodIdentityAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePodIdentityAssociationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePodIdentityAssociationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePodIdentityAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClusterName()
The name of the cluster to create the association in.
|
String |
getNamespace()
The name of the Kubernetes namespace inside the cluster to create the association in.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to associate with the service account.
|
String |
getServiceAccount()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
Map<String,String> |
getTags()
Metadata that assists with categorization and organization.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClusterName(String clusterName)
The name of the cluster to create the association in.
|
void |
setNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the service account.
|
void |
setServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
void |
setTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
CreatePodIdentityAssociationRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreatePodIdentityAssociationRequest |
withClusterName(String clusterName)
The name of the cluster to create the association in.
|
CreatePodIdentityAssociationRequest |
withNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in.
|
CreatePodIdentityAssociationRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the service account.
|
CreatePodIdentityAssociationRequest |
withServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
CreatePodIdentityAssociationRequest |
withTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterName(String clusterName)
The name of the cluster to create the association in.
clusterName
- The name of the cluster to create the association in.public String getClusterName()
The name of the cluster to create the association in.
public CreatePodIdentityAssociationRequest withClusterName(String clusterName)
The name of the cluster to create the association in.
clusterName
- The name of the cluster to create the association in.public void setNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
namespace
- The name of the Kubernetes namespace inside the cluster to create the association in. The service account
and the pods that use the service account must be in this namespace.public String getNamespace()
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
public CreatePodIdentityAssociationRequest withNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
namespace
- The name of the Kubernetes namespace inside the cluster to create the association in. The service account
and the pods that use the service account must be in this namespace.public void setServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
serviceAccount
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public String getServiceAccount()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
public CreatePodIdentityAssociationRequest withServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
serviceAccount
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity
agent manages credentials to assume this role for applications in the containers in the pods that use this
service account.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
public CreatePodIdentityAssociationRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the service account. The EKS Pod Identity
agent manages credentials to assume this role for applications in the containers in the pods that use this
service account.public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreatePodIdentityAssociationRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a
prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete
tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource
limit.
public void setTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag
keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public CreatePodIdentityAssociationRequest withTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
The following basic restrictions apply to tags:
Maximum number of tags per resource – 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length – 128 Unicode characters in UTF-8
Maximum value length – 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag
keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public CreatePodIdentityAssociationRequest addTagsEntry(String key, String value)
public CreatePodIdentityAssociationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePodIdentityAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()