Class ClusterAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.dsql.alpha.ClusterAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterAttributes>
- Enclosing interface:
ClusterAttributes
@Stability(Experimental)
public static final class ClusterAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterAttributes>
A builder for
ClusterAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterEndpoint(String clusterEndpoint) Sets the value ofClusterAttributes.getClusterEndpoint()clusterIdentifier(String clusterIdentifier) Sets the value ofClusterAttributes.getClusterIdentifier()vpcEndpointServiceName(String vpcEndpointServiceName) Sets the value ofClusterAttributes.getVpcEndpointServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterEndpoint
Sets the value ofClusterAttributes.getClusterEndpoint()- Parameters:
clusterEndpoint- Connection endpoint for the cluster. This parameter is required.- Returns:
this
-
clusterIdentifier
@Stability(Experimental) public ClusterAttributes.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofClusterAttributes.getClusterIdentifier()- Parameters:
clusterIdentifier- Identifier of the cluster. This parameter is required.- Returns:
this
-
vpcEndpointServiceName
@Stability(Experimental) public ClusterAttributes.Builder vpcEndpointServiceName(String vpcEndpointServiceName) Sets the value ofClusterAttributes.getVpcEndpointServiceName()- Parameters:
vpcEndpointServiceName- VPC endpoint service name for the cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClusterAttributes>- Returns:
- a new instance of
ClusterAttributes - Throws:
NullPointerException- if any required attribute was not provided
-