Interface RegisterClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterClusterRequest.Builder,RegisterClusterRequest>,EksRequest.Builder,SdkBuilder<RegisterClusterRequest.Builder,RegisterClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RegisterClusterRequest
public static interface RegisterClusterRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<RegisterClusterRequest.Builder,RegisterClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RegisterClusterRequest.BuilderclientRequestToken(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.RegisterClusterRequest.BuilderconnectorConfig(ConnectorConfigRequest connectorConfig)The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.RegisterClusterRequest.Buildername(String name)Define a unique name for this cluster for your Region.RegisterClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RegisterClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RegisterClusterRequest.Buildertags(Map<String,String> tags)The metadata that you apply to the cluster to assist with categorization and organization.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
RegisterClusterRequest.Builder name(String 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
RegisterClusterRequest.Builder connectorConfig(ConnectorConfigRequest 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:
connectorConfig(ConnectorConfigRequest)
-
clientRequestToken
RegisterClusterRequest.Builder clientRequestToken(String 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
RegisterClusterRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-