Interface RegisterClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterClusterRequest.Builder,,RegisterClusterRequest> EksRequest.Builder,SdkBuilder<RegisterClusterRequest.Builder,,RegisterClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default RegisterClusterRequest.BuilderconnectorConfig(Consumer<ConnectorConfigRequest.Builder> connectorConfig) The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.connectorConfig(ConnectorConfigRequest connectorConfig) The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.Define a unique name for this cluster for your Region.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The metadata that you apply to the cluster to assist with categorization and organization.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, sdkFields
-
Method Details
-
name
Define a unique name for this cluster for your Region.
- Parameters:
name- Define a unique name for this cluster for your Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfig
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
- Parameters:
connectorConfig- The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfig
default RegisterClusterRequest.Builder connectorConfig(Consumer<ConnectorConfigRequest.Builder> connectorConfig) The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
This is a convenience method that creates an instance of theConnectorConfigRequest.Builderavoiding the need to create one manually viaConnectorConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorConfig(ConnectorConfigRequest).- Parameters:
connectorConfig- a consumer that will call methods onConnectorConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you 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. Cluster tags do not propagate to any other resources associated with the cluster.
- Parameters:
tags- The metadata that you 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. Cluster tags do not propagate to any other resources associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterClusterRequest.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
RegisterClusterRequest.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.
-