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