Class AllowListReference.Builder
java.lang.Object
software.amazon.awscdk.services.macie.AllowListReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AllowListReference>
- Enclosing interface:
AllowListReference
@Stability(Stable)
public static final class AllowListReference.Builder
extends Object
implements software.amazon.jsii.Builder<AllowListReference>
A builder for
AllowListReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowListArn
(String allowListArn) Sets the value ofAllowListReference.getAllowListArn()
allowListId
(String allowListId) Sets the value ofAllowListReference.getAllowListId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowListArn
Sets the value ofAllowListReference.getAllowListArn()
- Parameters:
allowListArn
- The ARN of the AllowList resource. This parameter is required.- Returns:
this
-
allowListId
Sets the value ofAllowListReference.getAllowListId()
- Parameters:
allowListId
- The Id of the AllowList resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AllowListReference>
- Returns:
- a new instance of
AllowListReference
- Throws:
NullPointerException
- if any required attribute was not provided
-