public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the cluster.
|
Cluster.Builder |
certificateAuthority(Certificate certificateAuthority)
The
certificate-authority-data for your cluster. |
default Cluster.Builder |
certificateAuthority(Consumer<Certificate.Builder> certificateAuthority)
The
certificate-authority-data for your cluster. |
Cluster.Builder |
clientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
Cluster.Builder |
createdAt(Instant createdAt)
The Unix epoch time stamp in seconds for when the cluster was created.
|
Cluster.Builder |
endpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
Cluster.Builder |
name(String name)
The name of the cluster.
|
Cluster.Builder |
platformVersion(String platformVersion)
The platform version of your Amazon EKS cluster.
|
default Cluster.Builder |
resourcesVpcConfig(Consumer<VpcConfigResponse.Builder> resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane.
|
Cluster.Builder |
resourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)
The VPC subnets and security groups used by the cluster control plane.
|
Cluster.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.
|
Cluster.Builder |
status(ClusterStatus status)
The current status of the cluster.
|
Cluster.Builder |
status(String status)
The current status of the cluster.
|
Cluster.Builder |
version(String version)
The Kubernetes server version for the cluster.
|
copy
applyMutation, build
Cluster.Builder name(String name)
The name of the cluster.
name
- The name of the cluster.Cluster.Builder arn(String arn)
The Amazon Resource Name (ARN) of the cluster.
arn
- The Amazon Resource Name (ARN) of the cluster.Cluster.Builder createdAt(Instant createdAt)
The Unix epoch time stamp in seconds for when the cluster was created.
createdAt
- The Unix epoch time stamp in seconds for when the cluster was created.Cluster.Builder version(String version)
The Kubernetes server version for the cluster.
version
- The Kubernetes server version for the cluster.Cluster.Builder endpoint(String endpoint)
The endpoint for your Kubernetes API server.
endpoint
- The endpoint for your Kubernetes API server.Cluster.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.
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.Cluster.Builder resourcesVpcConfig(VpcConfigResponse 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.
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.default Cluster.Builder resourcesVpcConfig(Consumer<VpcConfigResponse.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.
This is a convenience that creates an instance of theVpcConfigResponse.Builder
avoiding the need to
create one manually via VpcConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resourcesVpcConfig(VpcConfigResponse)
.resourcesVpcConfig
- a consumer that will call methods on VpcConfigResponse.Builder
resourcesVpcConfig(VpcConfigResponse)
Cluster.Builder status(String status)
The current status of the cluster.
status
- The current status of the cluster.ClusterStatus
,
ClusterStatus
Cluster.Builder status(ClusterStatus status)
The current status of the cluster.
status
- The current status of the cluster.ClusterStatus
,
ClusterStatus
Cluster.Builder certificateAuthority(Certificate certificateAuthority)
The certificate-authority-data
for your cluster.
certificateAuthority
- The certificate-authority-data
for your cluster.default Cluster.Builder certificateAuthority(Consumer<Certificate.Builder> certificateAuthority)
The certificate-authority-data
for your cluster.
Certificate.Builder
avoiding the need to create
one manually via Certificate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to certificateAuthority(Certificate)
.certificateAuthority
- a consumer that will call methods on Certificate.Builder
certificateAuthority(Certificate)
Cluster.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.Cluster.Builder platformVersion(String platformVersion)
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
platformVersion
- The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User
Guide .Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.