@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAddonRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAddonRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAddonRequest |
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()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClusterName()
The name of the cluster.
|
String |
getResolveConflicts()
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS
default value.
|
String |
getServiceAccountRoleArn()
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
void |
setResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS
default value.
|
void |
setServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAddonRequest |
withAddonName(String addonName)
The name of the add-on.
|
UpdateAddonRequest |
withAddonVersion(String addonVersion)
The version of the add-on.
|
UpdateAddonRequest |
withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateAddonRequest |
withClusterName(String clusterName)
The name of the cluster.
|
UpdateAddonRequest |
withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS
default value.
|
UpdateAddonRequest |
withResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS
default value.
|
UpdateAddonRequest |
withServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account.
|
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.
clusterName
- The name of the cluster.public String getClusterName()
The name of the cluster.
public UpdateAddonRequest withClusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.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 UpdateAddonRequest 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 UpdateAddonRequest 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 UpdateAddonRequest 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 if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon
EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
ResolveConflicts
public String getResolveConflicts()
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
ResolveConflicts
public UpdateAddonRequest withResolveConflicts(String resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon
EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
ResolveConflicts
public UpdateAddonRequest withResolveConflicts(ResolveConflicts resolveConflicts)
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
resolveConflicts
- How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon
EKS default value. Conflicts are handled based on the option you choose:
None – Amazon EKS doesn't change the value. The update might fail.
Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS default value.
Preserve – Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
ResolveConflicts
public void setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public UpdateAddonRequest withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public UpdateAddonRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()