public static final class CfnEndpointAuthorizationProps.Builder
extends java.lang.Object
CfnEndpointAuthorizationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpointAuthorizationProps.Builder |
account(java.lang.String account)
Sets the value of
CfnEndpointAuthorizationProps.getAccount() |
CfnEndpointAuthorizationProps |
build()
Builds the configured instance.
|
CfnEndpointAuthorizationProps.Builder |
clusterIdentifier(java.lang.String clusterIdentifier)
Sets the value of
CfnEndpointAuthorizationProps.getClusterIdentifier() |
CfnEndpointAuthorizationProps.Builder |
force(java.lang.Boolean force)
Sets the value of
CfnEndpointAuthorizationProps.getForce() |
CfnEndpointAuthorizationProps.Builder |
force(IResolvable force)
Sets the value of
CfnEndpointAuthorizationProps.getForce() |
CfnEndpointAuthorizationProps.Builder |
vpcIds(java.util.List<java.lang.String> vpcIds)
Sets the value of
CfnEndpointAuthorizationProps.getVpcIds() |
public CfnEndpointAuthorizationProps.Builder account(java.lang.String account)
CfnEndpointAuthorizationProps.getAccount()
account
- The AWS account ID of either the cluster owner (grantor) or grantee. This parameter is required.
If Grantee
parameter is true, then the Account
value is of the grantor.this
public CfnEndpointAuthorizationProps.Builder clusterIdentifier(java.lang.String clusterIdentifier)
CfnEndpointAuthorizationProps.getClusterIdentifier()
clusterIdentifier
- The cluster identifier. This parameter is required.this
public CfnEndpointAuthorizationProps.Builder force(java.lang.Boolean force)
CfnEndpointAuthorizationProps.getForce()
force
- Indicates whether to force the revoke action.
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.this
public CfnEndpointAuthorizationProps.Builder force(IResolvable force)
CfnEndpointAuthorizationProps.getForce()
force
- Indicates whether to force the revoke action.
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.this
public CfnEndpointAuthorizationProps.Builder vpcIds(java.util.List<java.lang.String> vpcIds)
CfnEndpointAuthorizationProps.getVpcIds()
vpcIds
- The virtual private cloud (VPC) identifiers to grant access to.this
public CfnEndpointAuthorizationProps build()
CfnEndpointAuthorizationProps
java.lang.NullPointerException
- if any required attribute was not provided