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 that you provide to ensure the idempotency of the request.
|
CreateClusterRequest.Builder |
encryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
CreateClusterRequest.Builder |
encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig)
The encryption configuration for the cluster.
|
CreateClusterRequest.Builder |
encryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
|
default CreateClusterRequest.Builder |
logging(Consumer<Logging.Builder> logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
CreateClusterRequest.Builder |
logging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
CreateClusterRequest.Builder |
name(String name)
The unique name to give to your cluster.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateClusterRequest.Builder |
resourcesVpcConfig(Consumer<VpcConfigRequest.Builder> resourcesVpcConfig)
The VPC configuration used by the cluster control plane.
|
CreateClusterRequest.Builder |
resourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration used by the cluster control plane.
|
CreateClusterRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to
make calls to AWS API operations on your behalf.
|
CreateClusterRequest.Builder |
tags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization.
|
CreateClusterRequest.Builder |
version(String version)
The desired Kubernetes version for your cluster.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateClusterRequest.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 don't specify a value here, the latest version available in Amazon EKS is used.
version - The desired Kubernetes version for your cluster. If you don't 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 the Kubernetes control plane to make calls to 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 the Kubernetes control
plane to make calls to 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 configuration 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 can specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig - The VPC configuration 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 can
specify up to five 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 configuration 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 can specify up to five 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.BuilderresourcesVpcConfig(VpcConfigRequest)CreateClusterRequest.Builder logging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster Control Plane Logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see Amazon CloudWatch Pricing.
logging - Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By
default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster
Control Plane Logs in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see Amazon CloudWatch Pricing.
default CreateClusterRequest.Builder logging(Consumer<Logging.Builder> logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster Control Plane Logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see Amazon CloudWatch Pricing.
Logging.Builder avoiding the need to
create one manually via Logging.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to logging(Logging).logging - a consumer that will call methods on Logging.Builderlogging(Logging)CreateClusterRequest.Builder clientRequestToken(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.CreateClusterRequest.Builder tags(Map<String,String> tags)
The metadata to 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.
tags - The metadata to 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.CreateClusterRequest.Builder encryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig - The encryption configuration for the cluster.CreateClusterRequest.Builder encryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig - The encryption configuration for the cluster.CreateClusterRequest.Builder encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig)
The encryption configuration for the cluster.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #encryptionConfig(List) .encryptionConfig - a consumer that will call methods on List.Builder #encryptionConfig(List) CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.