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