Class EndpointAuthorizationReference.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.EndpointAuthorizationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointAuthorizationReference>
- Enclosing interface:
EndpointAuthorizationReference
@Stability(Stable)
public static final class EndpointAuthorizationReference.Builder
extends Object
implements software.amazon.jsii.Builder<EndpointAuthorizationReference>
A builder for
EndpointAuthorizationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofEndpointAuthorizationReference.getAccount()build()Builds the configured instance.clusterIdentifier(String clusterIdentifier) Sets the value ofEndpointAuthorizationReference.getClusterIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
account
Sets the value ofEndpointAuthorizationReference.getAccount()- Parameters:
account- The Account of the EndpointAuthorization resource. This parameter is required.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public EndpointAuthorizationReference.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofEndpointAuthorizationReference.getClusterIdentifier()- Parameters:
clusterIdentifier- The ClusterIdentifier of the EndpointAuthorization resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EndpointAuthorizationReference>- Returns:
- a new instance of
EndpointAuthorizationReference - Throws:
NullPointerException- if any required attribute was not provided
-