Class VPCBlockPublicAccessOptionsReference.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.VPCBlockPublicAccessOptionsReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VPCBlockPublicAccessOptionsReference>
- Enclosing interface:
VPCBlockPublicAccessOptionsReference
@Stability(Stable)
public static final class VPCBlockPublicAccessOptionsReference.Builder
extends Object
implements software.amazon.jsii.Builder<VPCBlockPublicAccessOptionsReference>
A builder for
VPCBlockPublicAccessOptionsReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofVPCBlockPublicAccessOptionsReference.getAccountId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofVPCBlockPublicAccessOptionsReference.getAccountId()
- Parameters:
accountId
- The AccountId of the VPCBlockPublicAccessOptions resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VPCBlockPublicAccessOptionsReference>
- Returns:
- a new instance of
VPCBlockPublicAccessOptionsReference
- Throws:
NullPointerException
- if any required attribute was not provided
-