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 that you provide to ensure the idempotency of the request.
|
Cluster.Builder |
connectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
|
default Cluster.Builder |
connectorConfig(Consumer<ConnectorConfigResponse.Builder> connectorConfig)
The configuration used to connect to a cluster for registration.
|
Cluster.Builder |
createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
|
Cluster.Builder |
encryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
Cluster.Builder |
encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig)
The encryption configuration for the cluster.
|
Cluster.Builder |
encryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
|
Cluster.Builder |
endpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
default Cluster.Builder |
identity(Consumer<Identity.Builder> identity)
The identity provider information for the cluster.
|
Cluster.Builder |
identity(Identity identity)
The identity provider information for the cluster.
|
default Cluster.Builder |
kubernetesNetworkConfig(Consumer<KubernetesNetworkConfigResponse.Builder> kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
Cluster.Builder |
kubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
default Cluster.Builder |
logging(Consumer<Logging.Builder> logging)
The logging configuration for your cluster.
|
Cluster.Builder |
logging(Logging logging)
The logging configuration for your cluster.
|
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 configuration used by the cluster control plane.
|
Cluster.Builder |
resourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)
The VPC configuration 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 Amazon Web Services 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 |
tags(Map<String,String> tags)
The metadata that you apply to the cluster to assist with categorization and organization.
|
Cluster.Builder |
version(String version)
The Kubernetes server version for the cluster.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCluster.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 timestamp in seconds for when the cluster was created.
createdAt - The Unix epoch timestamp 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 Amazon Web Services 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 Amazon Web Services API operations on your behalf.Cluster.Builder resourcesVpcConfig(VpcConfigResponse 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.
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.default Cluster.Builder resourcesVpcConfig(Consumer<VpcConfigResponse.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.
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.BuilderresourcesVpcConfig(VpcConfigResponse)Cluster.Builder kubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
kubernetesNetworkConfig - The Kubernetes network configuration for the cluster.default Cluster.Builder kubernetesNetworkConfig(Consumer<KubernetesNetworkConfigResponse.Builder> kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
This is a convenience that creates an instance of theKubernetesNetworkConfigResponse.Builder
avoiding the need to create one manually via KubernetesNetworkConfigResponse.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to kubernetesNetworkConfig(KubernetesNetworkConfigResponse).kubernetesNetworkConfig - a consumer that will call methods on KubernetesNetworkConfigResponse.BuilderkubernetesNetworkConfig(KubernetesNetworkConfigResponse)Cluster.Builder logging(Logging logging)
The logging configuration for your cluster.
logging - The logging configuration for your cluster.default Cluster.Builder logging(Consumer<Logging.Builder> logging)
The logging configuration for your cluster.
This is a convenience that creates an instance of theLogging.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)Cluster.Builder identity(Identity identity)
The identity provider information for the cluster.
identity - The identity provider information for the cluster.default Cluster.Builder identity(Consumer<Identity.Builder> identity)
The identity provider information for the cluster.
This is a convenience that creates an instance of theIdentity.Builder avoiding the need to create
one manually via Identity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to identity(Identity).identity - a consumer that will call methods on Identity.Builderidentity(Identity)Cluster.Builder status(String status)
The current status of the cluster.
status - The current status of the cluster.ClusterStatus,
ClusterStatusCluster.Builder status(ClusterStatus status)
The current status of the cluster.
status - The current status of the cluster.ClusterStatus,
ClusterStatusCluster.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.BuildercertificateAuthority(Certificate)Cluster.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.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 .Cluster.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.
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.Cluster.Builder encryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig - The encryption configuration for the cluster.Cluster.Builder encryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig - The encryption configuration for the cluster.Cluster.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) Cluster.Builder connectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
connectorConfig - The configuration used to connect to a cluster for registration.default Cluster.Builder connectorConfig(Consumer<ConnectorConfigResponse.Builder> connectorConfig)
The configuration used to connect to a cluster for registration.
This is a convenience that creates an instance of theConnectorConfigResponse.Builder avoiding the
need to create one manually via ConnectorConfigResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to connectorConfig(ConnectorConfigResponse).connectorConfig - a consumer that will call methods on ConnectorConfigResponse.BuilderconnectorConfig(ConnectorConfigResponse)Copyright © 2021. All rights reserved.