Class CfnEndpointAccess.VpcSecurityGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnEndpointAccess.VpcSecurityGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAccess.VpcSecurityGroupProperty>
- Enclosing interface:
CfnEndpointAccess.VpcSecurityGroupProperty
@Stability(Stable)
public static final class CfnEndpointAccess.VpcSecurityGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAccess.VpcSecurityGroupProperty>
A builder for
CfnEndpointAccess.VpcSecurityGroupProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEndpointAccess.VpcSecurityGroupProperty.getStatus()vpcSecurityGroupId(String vpcSecurityGroupId) Sets the value ofCfnEndpointAccess.VpcSecurityGroupProperty.getVpcSecurityGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnEndpointAccess.VpcSecurityGroupProperty.getStatus()- Parameters:
status- The status of the endpoint.- Returns:
this
-
vpcSecurityGroupId
@Stability(Stable) public CfnEndpointAccess.VpcSecurityGroupProperty.Builder vpcSecurityGroupId(String vpcSecurityGroupId) Sets the value ofCfnEndpointAccess.VpcSecurityGroupProperty.getVpcSecurityGroupId()- Parameters:
vpcSecurityGroupId- The identifier of the VPC security group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointAccess.VpcSecurityGroupProperty>- Returns:
- a new instance of
CfnEndpointAccess.VpcSecurityGroupProperty - Throws:
NullPointerException- if any required attribute was not provided
-