public static interface CreateClusterRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest.Builder |
clientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateClusterRequest.Builder |
name(String name)
The unique name to give to your cluster.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateClusterRequest.Builder |
resourcesVpcConfig(Consumer<VpcConfigRequest.Builder> resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane.
|
CreateClusterRequest.Builder |
resourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane.
|
CreateClusterRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for Amazon EKS to make calls to
other AWS API operations on your behalf.
|
CreateClusterRequest.Builder |
version(String version)
The desired Kubernetes version for your cluster.
|
build
overrideConfiguration
copy
applyMutation, build
CreateClusterRequest.Builder name(String name)
The unique name to give to your cluster.
name
- The unique name to give to your cluster.CreateClusterRequest.Builder version(String version)
The desired Kubernetes version for your cluster. If you do not specify a value here, the latest version available in Amazon EKS is used.
version
- The desired Kubernetes version for your cluster. If you do not specify a value here, the latest
version available in Amazon EKS is used.CreateClusterRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for Amazon EKS to make calls to other AWS API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
roleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for Amazon EKS to make calls
to other AWS API operations on your behalf. For more information, see Amazon EKS Service IAM
Role in the Amazon EKS User Guide .CreateClusterRequest.Builder resourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You may specify up to 5 security groups, but we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig
- The VPC subnets and security groups used by the cluster control plane. Amazon EKS VPC resources have
specific requirements to work properly with Kubernetes. For more information, see Cluster VPC
Considerations and Cluster Security Group
Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You may
specify up to 5 security groups, but we recommend that you use a dedicated security group for your
cluster control plane.default CreateClusterRequest.Builder resourcesVpcConfig(Consumer<VpcConfigRequest.Builder> resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You may specify up to 5 security groups, but we recommend that you use a dedicated security group for your cluster control plane.
This is a convenience that creates an instance of theVpcConfigRequest.Builder
avoiding the need to
create one manually via VpcConfigRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resourcesVpcConfig(VpcConfigRequest)
.resourcesVpcConfig
- a consumer that will call methods on VpcConfigRequest.Builder
resourcesVpcConfig(VpcConfigRequest)
CreateClusterRequest.Builder clientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request.CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.