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