Interface UpdateCapabilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCapabilityRequest.Builder,,UpdateCapabilityRequest> EksRequest.Builder,SdkBuilder<UpdateCapabilityRequest.Builder,,UpdateCapabilityRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCapabilityRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapabilityName(String capabilityName) The name of the capability to update configuration for.clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.clusterName(String clusterName) The name of the Amazon EKS cluster that contains the capability you want to update configuration for.default UpdateCapabilityRequest.Builderconfiguration(Consumer<UpdateCapabilityConfiguration.Builder> configuration) The updated configuration settings for the capability.configuration(UpdateCapabilityConfiguration configuration) The updated configuration settings for the capability.deletePropagationPolicy(String deletePropagationPolicy) The updated delete propagation policy for the capability.deletePropagationPolicy(CapabilityDeletePropagationPolicy deletePropagationPolicy) The updated delete propagation policy for the capability.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
The name of the Amazon EKS cluster that contains the capability you want to update configuration for.
- Parameters:
clusterName- The name of the Amazon EKS cluster that contains the capability you want to update configuration for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityName
The name of the capability to update configuration for.
- Parameters:
capabilityName- The name of the capability to update configuration for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services. If you specify a new role ARN, the capability will start using the new role for all subsequent operations.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services. If you specify a new role ARN, the capability will start using the new role for all subsequent operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The updated configuration settings for the capability. You only need to specify the configuration parameters you want to change. For Argo CD capabilities, you can update RBAC role mappings and network access settings.
- Parameters:
configuration- The updated configuration settings for the capability. You only need to specify the configuration parameters you want to change. For Argo CD capabilities, you can update RBAC role mappings and network access settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateCapabilityRequest.Builder configuration(Consumer<UpdateCapabilityConfiguration.Builder> configuration) The updated configuration settings for the capability. You only need to specify the configuration parameters you want to change. For Argo CD capabilities, you can update RBAC role mappings and network access settings.
This is a convenience method that creates an instance of theUpdateCapabilityConfiguration.Builderavoiding the need to create one manually viaUpdateCapabilityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(UpdateCapabilityConfiguration).- Parameters:
configuration- a consumer that will call methods onUpdateCapabilityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 24 hours after creation.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 24 hours after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletePropagationPolicy
The updated delete propagation policy for the capability. Currently, the only supported value is
RETAIN.- Parameters:
deletePropagationPolicy- The updated delete propagation policy for the capability. Currently, the only supported value isRETAIN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletePropagationPolicy
UpdateCapabilityRequest.Builder deletePropagationPolicy(CapabilityDeletePropagationPolicy deletePropagationPolicy) The updated delete propagation policy for the capability. Currently, the only supported value is
RETAIN.- Parameters:
deletePropagationPolicy- The updated delete propagation policy for the capability. Currently, the only supported value isRETAIN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCapabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCapabilityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-