@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAddonRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAddonRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAddonRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAddonRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAddonRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddonName()
The name of the add-on.
|
String |
getAddonVersion()
The version of the add-on.
|
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 add-on for.
|
String |
getResolveConflicts()
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
|
String |
getServiceAccountRoleArn()
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
Map<String,String> |
getTags()
The metadata to apply to the cluster to assist with categorization and organization.
|
int |
hashCode() |
void |
setAddonName(String addonName)
The name of the add-on.
|
void |
setAddonVersion(String addonVersion)
The version of the add-on.
|
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 add-on for.
|
void |
setResolveConflicts(String resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
|
void |
setServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
void |
setTags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
CreateAddonRequest |
withAddonName(String addonName)
The name of the add-on.
|
CreateAddonRequest |
withAddonVersion(String addonVersion)
The version of the add-on.
|
CreateAddonRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateAddonRequest |
withClusterName(String clusterName)
The name of the cluster to create the add-on for.
|
CreateAddonRequest |
withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
|
CreateAddonRequest |
withResolveConflicts(String resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
|
CreateAddonRequest |
withServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
CreateAddonRequest |
withTags(Map<String,String> tags)
The metadata to apply to the cluster to assist 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 add-on for.
clusterName
- The name of the cluster to create the add-on for.public String getClusterName()
The name of the cluster to create the add-on for.
public CreateAddonRequest withClusterName(String clusterName)
The name of the cluster to create the add-on for.
clusterName
- The name of the cluster to create the add-on for.public void setAddonName(String addonName)
The name of the add-on. The name must match one of the names returned by ListAddons
.
addonName
- The name of the add-on. The name must match one of the names returned by ListAddons
.public String getAddonName()
The name of the add-on. The name must match one of the names returned by ListAddons
.
ListAddons
.public CreateAddonRequest withAddonName(String addonName)
The name of the add-on. The name must match one of the names returned by ListAddons
.
addonName
- The name of the add-on. The name must match one of the names returned by ListAddons
.public void setAddonVersion(String addonVersion)
The version of the add-on. The version must match one of the versions returned by
DescribeAddonVersions
.
addonVersion
- The version of the add-on. The version must match one of the versions returned by
DescribeAddonVersions
.public String getAddonVersion()
The version of the add-on. The version must match one of the versions returned by
DescribeAddonVersions
.
DescribeAddonVersions
.public CreateAddonRequest withAddonVersion(String addonVersion)
The version of the add-on. The version must match one of the versions returned by
DescribeAddonVersions
.
addonVersion
- The version of the add-on. The version must match one of the versions returned by
DescribeAddonVersions
.public void setServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
serviceAccountRoleArn
- The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role
must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role,
then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role
in the Amazon EKS User Guide. To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
public String getServiceAccountRoleArn()
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
public CreateAddonRequest withServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
serviceAccountRoleArn
- The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role
must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role,
then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role
in the Amazon EKS User Guide. To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
public void setResolveConflicts(String resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
resolveConflicts
- How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.ResolveConflicts
public String getResolveConflicts()
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
ResolveConflicts
public CreateAddonRequest withResolveConflicts(String resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
resolveConflicts
- How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.ResolveConflicts
public CreateAddonRequest withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.
resolveConflicts
- How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS add-on.ResolveConflicts
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 CreateAddonRequest 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()
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value, both of which you define.public CreateAddonRequest withTags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value, both of which you define.public CreateAddonRequest addTagsEntry(String key, String value)
public CreateAddonRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAddonRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()