Class CfnAutomationRule.NoteUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAutomationRule.NoteUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRule.NoteUpdateProperty>
- Enclosing interface:
CfnAutomationRule.NoteUpdateProperty
@Stability(Stable)
public static final class CfnAutomationRule.NoteUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRule.NoteUpdateProperty>
A builder for
CfnAutomationRule.NoteUpdateProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAutomationRule.NoteUpdateProperty.getText()
Sets the value ofCfnAutomationRule.NoteUpdateProperty.getUpdatedBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
Sets the value ofCfnAutomationRule.NoteUpdateProperty.getText()
- Parameters:
text
- The updated note text. This parameter is required.- Returns:
this
-
updatedBy
Sets the value ofCfnAutomationRule.NoteUpdateProperty.getUpdatedBy()
- Parameters:
updatedBy
- The principal that updated the note. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomationRule.NoteUpdateProperty>
- Returns:
- a new instance of
CfnAutomationRule.NoteUpdateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-