Class VPCBlockPublicAccessExclusionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.VPCBlockPublicAccessExclusionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VPCBlockPublicAccessExclusionReference>
- Enclosing interface:
VPCBlockPublicAccessExclusionReference
@Stability(Stable)
public static final class VPCBlockPublicAccessExclusionReference.Builder
extends Object
implements software.amazon.jsii.Builder<VPCBlockPublicAccessExclusionReference>
A builder for
VPCBlockPublicAccessExclusionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.exclusionId(String exclusionId) Sets the value ofVPCBlockPublicAccessExclusionReference.getExclusionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclusionId
@Stability(Stable) public VPCBlockPublicAccessExclusionReference.Builder exclusionId(String exclusionId) Sets the value ofVPCBlockPublicAccessExclusionReference.getExclusionId()- Parameters:
exclusionId- The ExclusionId of the VPCBlockPublicAccessExclusion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VPCBlockPublicAccessExclusionReference>- Returns:
- a new instance of
VPCBlockPublicAccessExclusionReference - Throws:
NullPointerException- if any required attribute was not provided
-