Interface Cluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Cluster.Builder,,Cluster> SdkBuilder<Cluster.Builder,,Cluster> SdkPojo
- Enclosing class:
Cluster
-
Method Summary
Modifier and TypeMethodDescriptiondefault Cluster.BuilderaccessConfig(Consumer<AccessConfigResponse.Builder> accessConfig) The access configuration for the cluster.accessConfig(AccessConfigResponse accessConfig) The access configuration for the cluster.The Amazon Resource Name (ARN) of the cluster.default Cluster.BuildercertificateAuthority(Consumer<Certificate.Builder> certificateAuthority) Thecertificate-authority-datafor your cluster.certificateAuthority(Certificate certificateAuthority) Thecertificate-authority-datafor your cluster.clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default Cluster.BuilderconnectorConfig(Consumer<ConnectorConfigResponse.Builder> connectorConfig) The configuration used to connect to a cluster for registration.connectorConfig(ConnectorConfigResponse connectorConfig) The configuration used to connect to a cluster for registration.The Unix epoch timestamp at object creation.encryptionConfig(Collection<EncryptionConfig> encryptionConfig) The encryption configuration for the cluster.encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig) The encryption configuration for the cluster.encryptionConfig(EncryptionConfig... encryptionConfig) The encryption configuration for the cluster.The endpoint for your Kubernetes API server.default Cluster.Builderhealth(Consumer<ClusterHealth.Builder> health) An object representing the health of your Amazon EKS cluster.health(ClusterHealth health) An object representing the health of your Amazon EKS cluster.The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost.default Cluster.Builderidentity(Consumer<Identity.Builder> identity) The identity provider information for the cluster.The identity provider information for the cluster.default Cluster.BuilderkubernetesNetworkConfig(Consumer<KubernetesNetworkConfigResponse.Builder> kubernetesNetworkConfig) The Kubernetes network configuration for the cluster.kubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig) The Kubernetes network configuration for the cluster.default Cluster.Builderlogging(Consumer<Logging.Builder> logging) The logging configuration for your cluster.The logging configuration for your cluster.The name of your cluster.default Cluster.BuilderoutpostConfig(Consumer<OutpostConfigResponse.Builder> outpostConfig) An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.outpostConfig(OutpostConfigResponse outpostConfig) An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.platformVersion(String platformVersion) The platform version of your Amazon EKS cluster.default Cluster.BuilderresourcesVpcConfig(Consumer<VpcConfigResponse.Builder> resourcesVpcConfig) The VPC configuration used by the cluster control plane.resourcesVpcConfig(VpcConfigResponse resourcesVpcConfig) The VPC configuration used by the cluster control plane.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.The current status of the cluster.status(ClusterStatus status) The current status of the cluster.Metadata that assists with categorization and organization.default Cluster.BuilderupgradePolicy(Consumer<UpgradePolicyResponse.Builder> upgradePolicy) This value indicates if extended support is enabled or disabled for the cluster.upgradePolicy(UpgradePolicyResponse upgradePolicy) This value indicates if extended support is enabled or disabled for the cluster.The Kubernetes server version for the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of your cluster.
- Parameters:
name- The name of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the cluster.
- Parameters:
arn- The Amazon Resource Name (ARN) of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix epoch timestamp at object creation.
- Parameters:
createdAt- The Unix epoch timestamp at object creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The Kubernetes server version for the cluster.
- Parameters:
version- The Kubernetes server version for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint for your Kubernetes API server.
- Parameters:
endpoint- The endpoint for your Kubernetes API server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theVpcConfigResponse.Builderavoiding the need to create one manually viaVpcConfigResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourcesVpcConfig(VpcConfigResponse).- Parameters:
resourcesVpcConfig- a consumer that will call methods onVpcConfigResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kubernetesNetworkConfig
The Kubernetes network configuration for the cluster.
- Parameters:
kubernetesNetworkConfig- The Kubernetes network configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesNetworkConfig
default Cluster.Builder kubernetesNetworkConfig(Consumer<KubernetesNetworkConfigResponse.Builder> kubernetesNetworkConfig) The Kubernetes network configuration for the cluster.
This is a convenience method that creates an instance of theKubernetesNetworkConfigResponse.Builderavoiding the need to create one manually viaKubernetesNetworkConfigResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokubernetesNetworkConfig(KubernetesNetworkConfigResponse).- Parameters:
kubernetesNetworkConfig- a consumer that will call methods onKubernetesNetworkConfigResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logging
The logging configuration for your cluster.
- Parameters:
logging- The logging configuration for your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
The logging configuration for your cluster.
This is a convenience method that creates an instance of theLogging.Builderavoiding the need to create one manually viaLogging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologging(Logging).- Parameters:
logging- a consumer that will call methods onLogging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identity
The identity provider information for the cluster.
- Parameters:
identity- The identity provider information for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
The identity provider information for the cluster.
This is a convenience method that creates an instance of theIdentity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentity(Identity).- Parameters:
identity- a consumer that will call methods onIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the cluster.
- Parameters:
status- The current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the cluster.
- Parameters:
status- The current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateAuthority
The
certificate-authority-datafor your cluster.- Parameters:
certificateAuthority- Thecertificate-authority-datafor your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthority
The
This is a convenience method that creates an instance of thecertificate-authority-datafor your cluster.Certificate.Builderavoiding the need to create one manually viaCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateAuthority(Certificate).- Parameters:
certificateAuthority- a consumer that will call methods onCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- A 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.
-
platformVersion
The platform version of your Amazon EKS cluster. For more information about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .
- Parameters:
platformVersion- The platform version of your Amazon EKS cluster. For more information about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
- Parameters:
tags- Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The encryption configuration for the cluster.
- Parameters:
encryptionConfig- The encryption configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The encryption configuration for the cluster.
- Parameters:
encryptionConfig- The encryption configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The encryption configuration for the cluster.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(List<EncryptionConfig>).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorConfig
The configuration used to connect to a cluster for registration.
- Parameters:
connectorConfig- The configuration used to connect to a cluster for registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorConfig
The configuration used to connect to a cluster for registration.
This is a convenience method that creates an instance of theConnectorConfigResponse.Builderavoiding the need to create one manually viaConnectorConfigResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorConfig(ConnectorConfigResponse).- Parameters:
connectorConfig- a consumer that will call methods onConnectorConfigResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.
- Parameters:
id- The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
An object representing the health of your Amazon EKS cluster.
- Parameters:
health- An object representing the health of your Amazon EKS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
An object representing the health of your Amazon EKS cluster.
This is a convenience method that creates an instance of theClusterHealth.Builderavoiding the need to create one manually viaClusterHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(ClusterHealth).- Parameters:
health- a consumer that will call methods onClusterHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outpostConfig
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
- Parameters:
outpostConfig- An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostConfig
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
This is a convenience method that creates an instance of theOutpostConfigResponse.Builderavoiding the need to create one manually viaOutpostConfigResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutpostConfig(OutpostConfigResponse).- Parameters:
outpostConfig- a consumer that will call methods onOutpostConfigResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessConfig
The access configuration for the cluster.
- Parameters:
accessConfig- The access configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessConfig
The access configuration for the cluster.
This is a convenience method that creates an instance of theAccessConfigResponse.Builderavoiding the need to create one manually viaAccessConfigResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessConfig(AccessConfigResponse).- Parameters:
accessConfig- a consumer that will call methods onAccessConfigResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upgradePolicy
This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
- Parameters:
upgradePolicy- This value indicates if extended support is enabled or disabled for the cluster.Learn more about EKS Extended Support in the EKS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradePolicy
This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
This is a convenience method that creates an instance of theUpgradePolicyResponse.Builderavoiding the need to create one manually viaUpgradePolicyResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupgradePolicy(UpgradePolicyResponse).- Parameters:
upgradePolicy- a consumer that will call methods onUpgradePolicyResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-