Class CfnEndpointAuthorization.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnEndpointAuthorization.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAuthorization>
- Enclosing class:
CfnEndpointAuthorization
@Stability(Stable)
public static final class CfnEndpointAuthorization.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAuthorization>
A fluent builder for
CfnEndpointAuthorization
.-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account ID of either the cluster owner (grantor) or grantee.build()
clusterIdentifier
(String clusterIdentifier) The cluster identifier.Indicates whether to force the revoke action.force
(IResolvable force) Indicates whether to force the revoke action.The virtual private cloud (VPC) identifiers to grant access to.
-
Method Details
-
create
@Stability(Stable) public static CfnEndpointAuthorization.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEndpointAuthorization.Builder
.
-
account
The AWS account ID of either the cluster owner (grantor) or grantee.If
Grantee
parameter is true, then theAccount
value is of the grantor.- Parameters:
account
- The AWS account ID of either the cluster owner (grantor) or grantee. This parameter is required.- Returns:
this
- See Also:
-
clusterIdentifier
@Stability(Stable) public CfnEndpointAuthorization.Builder clusterIdentifier(String clusterIdentifier) The cluster identifier.- Parameters:
clusterIdentifier
- The cluster identifier. This parameter is required.- Returns:
this
- See Also:
-
force
Indicates whether to force the revoke action.If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
- Parameters:
force
- Indicates whether to force the revoke action. This parameter is required.- Returns:
this
- See Also:
-
force
Indicates whether to force the revoke action.If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
- Parameters:
force
- Indicates whether to force the revoke action. This parameter is required.- Returns:
this
- See Also:
-
vpcIds
The virtual private cloud (VPC) identifiers to grant access to.- Parameters:
vpcIds
- The virtual private cloud (VPC) identifiers to grant access to. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointAuthorization>
- Returns:
- a newly built instance of
CfnEndpointAuthorization
.
-