Class CfnEndpointAuthorizationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnEndpointAuthorizationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAuthorizationMixinProps>
- Enclosing interface:
CfnEndpointAuthorizationMixinProps
@Stability(Stable)
public static final class CfnEndpointAuthorizationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAuthorizationMixinProps>
A builder for
CfnEndpointAuthorizationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEndpointAuthorizationMixinProps.getAccount()build()Builds the configured instance.clusterIdentifier(String clusterIdentifier) Sets the value ofCfnEndpointAuthorizationMixinProps.getClusterIdentifier()Sets the value ofCfnEndpointAuthorizationMixinProps.getForce()force(IResolvable force) Sets the value ofCfnEndpointAuthorizationMixinProps.getForce()Sets the value ofCfnEndpointAuthorizationMixinProps.getVpcIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
account
Sets the value ofCfnEndpointAuthorizationMixinProps.getAccount()- Parameters:
account- The AWS account ID of either the cluster owner (grantor) or grantee. IfGranteeparameter is true, then theAccountvalue is of the grantor.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public CfnEndpointAuthorizationMixinProps.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofCfnEndpointAuthorizationMixinProps.getClusterIdentifier()- Parameters:
clusterIdentifier- The cluster identifier.- Returns:
this
-
force
Sets the value ofCfnEndpointAuthorizationMixinProps.getForce()- Parameters:
force- Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.- Returns:
this
-
force
Sets the value ofCfnEndpointAuthorizationMixinProps.getForce()- Parameters:
force- Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.- Returns:
this
-
vpcIds
@Stability(Stable) public CfnEndpointAuthorizationMixinProps.Builder vpcIds(List<? extends Object> vpcIds) Sets the value ofCfnEndpointAuthorizationMixinProps.getVpcIds()- Parameters:
vpcIds- The virtual private cloud (VPC) identifiers to grant access to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointAuthorizationMixinProps>- Returns:
- a new instance of
CfnEndpointAuthorizationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-