Class SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.securityhub.events.SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityHubInsightResults.SecurityHubInsightResultsProps>
- Enclosing interface:
SecurityHubInsightResults.SecurityHubInsightResultsProps
@Stability(Experimental)
public static final class SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder
extends Object
implements software.amazon.jsii.Builder<SecurityHubInsightResults.SecurityHubInsightResultsProps>
A builder for
SecurityHubInsightResults.SecurityHubInsightResultsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionDescription(List<String> actionDescription) actionName(List<String> actionName) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getActionName()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) insightArn(List<String> insightArn) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getInsightArn()insightName(List<String> insightName) insightResults(List<? extends Map<String, String>> insightResults) resultType(List<String> resultType) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getResultType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionDescription
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder actionDescription(List<String> actionDescription) - Parameters:
actionDescription- actionDescription property. Specify an array of string values to match this event if the actual value of actionDescription is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
actionName
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder actionName(List<String> actionName) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getActionName()- Parameters:
actionName- actionName property. Specify an array of string values to match this event if the actual value of actionName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
insightArn
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder insightArn(List<String> insightArn) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getInsightArn()- Parameters:
insightArn- insightArn property. Specify an array of string values to match this event if the actual value of insightArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightName
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder insightName(List<String> insightName) - Parameters:
insightName- insightName property. Specify an array of string values to match this event if the actual value of insightName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightResults
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder insightResults(List<? extends Map<String, String>> insightResults) - Parameters:
insightResults- insightResults property. Specify an array of string values to match this event if the actual value of insightResults is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resultType
@Stability(Experimental) public SecurityHubInsightResults.SecurityHubInsightResultsProps.Builder resultType(List<String> resultType) Sets the value ofSecurityHubInsightResults.SecurityHubInsightResultsProps.getResultType()- Parameters:
resultType- resultType property. Specify an array of string values to match this event if the actual value of resultType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityHubInsightResults.SecurityHubInsightResultsProps>- Returns:
- a new instance of
SecurityHubInsightResults.SecurityHubInsightResultsProps - Throws:
NullPointerException- if any required attribute was not provided
-