Interface Cluster.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Cluster.Builder,Cluster>,SdkBuilder<Cluster.Builder,Cluster>,SdkPojo
- Enclosing class:
- Cluster
public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Cluster.Builderarn(String arn)The Amazon Resource Name (ARN) of the cluster.default Cluster.BuildercertificateAuthority(Consumer<Certificate.Builder> certificateAuthority)Thecertificate-authority-datafor your cluster.Cluster.BuildercertificateAuthority(Certificate certificateAuthority)Thecertificate-authority-datafor your cluster.Cluster.BuilderclientRequestToken(String clientRequestToken)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.Cluster.BuilderconnectorConfig(ConnectorConfigResponse connectorConfig)The configuration used to connect to a cluster for registration.Cluster.BuildercreatedAt(Instant createdAt)The Unix epoch timestamp in seconds for when the cluster was created.Cluster.BuilderencryptionConfig(Collection<EncryptionConfig> encryptionConfig)The encryption configuration for the cluster.Cluster.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig)The encryption configuration for the cluster.Cluster.BuilderencryptionConfig(EncryptionConfig... encryptionConfig)The encryption configuration for the cluster.Cluster.Builderendpoint(String endpoint)The endpoint for your Kubernetes API server.default Cluster.Builderhealth(Consumer<ClusterHealth.Builder> health)An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost.Cluster.Builderhealth(ClusterHealth health)An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost.Cluster.Builderid(String id)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.Cluster.Builderidentity(Identity identity)The identity provider information for the cluster.default Cluster.BuilderkubernetesNetworkConfig(Consumer<KubernetesNetworkConfigResponse.Builder> kubernetesNetworkConfig)The Kubernetes network configuration for the cluster.Cluster.BuilderkubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)The Kubernetes network configuration for the cluster.default Cluster.Builderlogging(Consumer<Logging.Builder> logging)The logging configuration for your cluster.Cluster.Builderlogging(Logging logging)The logging configuration for your cluster.Cluster.Buildername(String name)The name of the 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.Cluster.BuilderoutpostConfig(OutpostConfigResponse outpostConfig)An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.Cluster.BuilderplatformVersion(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.Cluster.BuilderresourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)The VPC configuration used by the cluster control plane.Cluster.BuilderroleArn(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.Builderstatus(String status)The current status of the cluster.Cluster.Builderstatus(ClusterStatus status)The current status of the cluster.Cluster.Buildertags(Map<String,String> tags)The metadata that you apply to the cluster to assist with categorization and organization.Cluster.Builderversion(String version)The Kubernetes server version for the cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
Cluster.Builder name(String name)
The name of the cluster.
- Parameters:
name- The name of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Cluster.Builder arn(String 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
Cluster.Builder createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
- Parameters:
createdAt- The Unix epoch timestamp in seconds for when the cluster was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Cluster.Builder version(String 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
Cluster.Builder endpoint(String 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
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.
- 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
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.
- 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
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 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:
resourcesVpcConfig(VpcConfigResponse)
-
kubernetesNetworkConfig
Cluster.Builder kubernetesNetworkConfig(KubernetesNetworkConfigResponse 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:
kubernetesNetworkConfig(KubernetesNetworkConfigResponse)
-
logging
Cluster.Builder logging(Logging 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
default Cluster.Builder logging(Consumer<Logging.Builder> 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:
logging(Logging)
-
identity
Cluster.Builder identity(Identity 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
default Cluster.Builder identity(Consumer<Identity.Builder> 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:
identity(Identity)
-
status
Cluster.Builder status(String 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:
ClusterStatus,ClusterStatus
-
status
Cluster.Builder status(ClusterStatus 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:
ClusterStatus,ClusterStatus
-
certificateAuthority
Cluster.Builder certificateAuthority(Certificate 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
default Cluster.Builder certificateAuthority(Consumer<Certificate.Builder> 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:
certificateAuthority(Certificate)
-
clientRequestToken
Cluster.Builder clientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- 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
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 .
- Parameters:
platformVersion- The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
- Parameters:
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. You define both. Cluster tags do not propagate to any other resources associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
Cluster.Builder encryptionConfig(Collection<EncryptionConfig> 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
Cluster.Builder encryptionConfig(EncryptionConfig... 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
Cluster.Builder encryptionConfig(Consumer<EncryptionConfig.Builder>... 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 to#encryptionConfig(List.) - 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:
#encryptionConfig(java.util.Collection)
-
connectorConfig
Cluster.Builder connectorConfig(ConnectorConfigResponse 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
default Cluster.Builder connectorConfig(Consumer<ConnectorConfigResponse.Builder> 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:
connectorConfig(ConnectorConfigResponse)
-
id
Cluster.Builder id(String 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
Cluster.Builder health(ClusterHealth health)
An object representing the health 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:
health- An object representing the health 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.
-
health
default Cluster.Builder health(Consumer<ClusterHealth.Builder> health)
An object representing the health 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 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:
health(ClusterHealth)
-
outpostConfig
Cluster.Builder outpostConfig(OutpostConfigResponse 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
default Cluster.Builder outpostConfig(Consumer<OutpostConfigResponse.Builder> 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:
outpostConfig(OutpostConfigResponse)
-
-