@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 |
getConfigurationValues()
The set of configuration values for the add-on that's created.
|
String |
getResolveConflicts()
How to resolve field value conflicts for 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 |
setConfigurationValues(String configurationValues)
The set of configuration values for the add-on that's created.
|
void |
setResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for 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 |
withConfigurationValues(String configurationValues)
The set of configuration values for the add-on that's created.
|
CreateAddonRequest |
withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on.
|
CreateAddonRequest |
withResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for 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 that
DescribeAddonVersions
returns.
addonName
- The name of the add-on. The name must match one of the names that
DescribeAddonVersions
returns.public String getAddonName()
The name of the add-on. The name must match one of the names that
DescribeAddonVersions
returns.
DescribeAddonVersions
returns.public CreateAddonRequest withAddonName(String addonName)
The name of the add-on. The name must match one of the names that
DescribeAddonVersions
returns.
addonName
- The name of the add-on. The name must match one of the names that
DescribeAddonVersions
returns.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 field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value
you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
ResolveConflicts
public String getResolveConflicts()
How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
ResolveConflicts
public CreateAddonRequest withResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value
you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
ResolveConflicts
public CreateAddonRequest withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value
you choose:
None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon.
If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify.
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. You define both.
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. You define both.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value. You define both.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. You define both.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value. You define both.public CreateAddonRequest addTagsEntry(String key, String value)
public CreateAddonRequest clearTagsEntries()
public void setConfigurationValues(String configurationValues)
The set of configuration values for the add-on that's created. The values that you provide are validated against
the schema in
DescribeAddonConfiguration
.
configurationValues
- The set of configuration values for the add-on that's created. The values that you provide are validated
against the schema in
DescribeAddonConfiguration
.public String getConfigurationValues()
The set of configuration values for the add-on that's created. The values that you provide are validated against
the schema in
DescribeAddonConfiguration
.
DescribeAddonConfiguration
.public CreateAddonRequest withConfigurationValues(String configurationValues)
The set of configuration values for the add-on that's created. The values that you provide are validated against
the schema in
DescribeAddonConfiguration
.
configurationValues
- The set of configuration values for the add-on that's created. The values that you provide are validated
against the schema in
DescribeAddonConfiguration
.public String toString()
toString
in class Object
Object.toString()
public CreateAddonRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()