@Stability(value=Experimental) public static final class ClusterAttributes.Builder extends Object implements software.amazon.jsii.Builder<ClusterAttributes>
ClusterAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ClusterAttributes |
build()
Builds the configured instance.
|
ClusterAttributes.Builder |
clusterArn(String clusterArn)
Sets the value of
ClusterAttributes.getClusterArn() |
ClusterAttributes.Builder |
clusterCertificateAuthorityData(String clusterCertificateAuthorityData)
Sets the value of
ClusterAttributes.getClusterCertificateAuthorityData() |
ClusterAttributes.Builder |
clusterEndpoint(String clusterEndpoint)
Sets the value of
ClusterAttributes.getClusterEndpoint() |
ClusterAttributes.Builder |
clusterName(String clusterName)
Sets the value of
ClusterAttributes.getClusterName() |
ClusterAttributes.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
Sets the value of
ClusterAttributes.getSecurityGroups() |
ClusterAttributes.Builder |
vpc(IVpc vpc)
Sets the value of
ClusterAttributes.getVpc() |
@Stability(value=Experimental) public ClusterAttributes.Builder clusterArn(String clusterArn)
ClusterAttributes.getClusterArn()clusterArn - The unique ARN assigned to the service by AWS in the form of arn:aws:eks:. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes.Builder clusterCertificateAuthorityData(String clusterCertificateAuthorityData)
ClusterAttributes.getClusterCertificateAuthorityData()clusterCertificateAuthorityData - The certificate-authority-data for your cluster. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes.Builder clusterEndpoint(String clusterEndpoint)
ClusterAttributes.getClusterEndpoint()clusterEndpoint - The API Server endpoint URL. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes.Builder clusterName(String clusterName)
ClusterAttributes.getClusterName()clusterName - The physical name of the Cluster. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ClusterAttributes.getSecurityGroups()securityGroups - The security groups associated with this cluster. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes.Builder vpc(IVpc vpc)
ClusterAttributes.getVpc()vpc - The VPC in which this Cluster was created. This parameter is required.this@Stability(value=Experimental) public ClusterAttributes build()
build in interface software.amazon.jsii.Builder<ClusterAttributes>ClusterAttributesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.