Package software.amazon.awscdk
Class Acknowledgment.Builder
java.lang.Object
software.amazon.awscdk.Acknowledgment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Acknowledgment>
- Enclosing interface:
Acknowledgment
@Stability(Stable)
public static final class Acknowledgment.Builder
extends Object
implements software.amazon.jsii.Builder<Acknowledgment>
A builder for
Acknowledgment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAcknowledgment.getId()Sets the value ofAcknowledgment.getReason()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofAcknowledgment.getId()- Parameters:
id- The rule ID to acknowledge. This parameter is required.- Returns:
this
-
reason
Sets the value ofAcknowledgment.getReason()- Parameters:
reason- The reason for acknowledging this rule. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Acknowledgment>- Returns:
- a new instance of
Acknowledgment - Throws:
NullPointerException- if any required attribute was not provided
-