Class DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.GuardDutyFindingProps>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.GuardDutyFindingProps
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.GuardDutyFindingProps>
A builder for
DetectorEvents.GuardDutyFinding.GuardDutyFindingProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getAccountId()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getArn()build()Builds the configured instance.Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getCreatedAt()description(List<String> description) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getDescription()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getEventMetadata()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getId()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getPartition()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getRegion()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getResource()schemaVersion(List<String> schemaVersion) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getSchemaVersion()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getService()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getSeverity()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getTitle()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getType()Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getUpdatedAt()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder accountId(List<String> accountId) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getAccountId()- Parameters:
accountId- accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
arn
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder arn(List<String> arn) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getArn()- Parameters:
arn- arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createdAt
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder createdAt(List<String> createdAt) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getCreatedAt()- Parameters:
createdAt- createdAt property. Specify an array of string values to match this event if the actual value of createdAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder description(List<String> description) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getDescription()- Parameters:
description- description property. Specify an array of string values to match this event if the actual value of description 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 DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
id
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder id(List<String> id) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getId()- Parameters:
id- id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
partition
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder partition(List<String> partition) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getPartition()- Parameters:
partition- partition property. Specify an array of string values to match this event if the actual value of partition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
region
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder region(List<String> region) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getRegion()- Parameters:
region- region property. Specify an array of string values to match this event if the actual value of region is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resource
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder resource(DetectorEvents.GuardDutyFinding.Resource resource) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getResource()- Parameters:
resource- resource property. Specify an array of string values to match this event if the actual value of resource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
schemaVersion
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder schemaVersion(List<String> schemaVersion) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getSchemaVersion()- Parameters:
schemaVersion- schemaVersion property. Specify an array of string values to match this event if the actual value of schemaVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
service
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder service(DetectorEvents.GuardDutyFinding.Service service) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getService()- Parameters:
service- service property. Specify an array of string values to match this event if the actual value of service is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
severity
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder severity(List<String> severity) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getSeverity()- Parameters:
severity- severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
title
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder title(List<String> title) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getTitle()- Parameters:
title- title property. Specify an array of string values to match this event if the actual value of title is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder type(List<String> type) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
updatedAt
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.GuardDutyFindingProps.Builder updatedAt(List<String> updatedAt) Sets the value ofDetectorEvents.GuardDutyFinding.GuardDutyFindingProps.getUpdatedAt()- Parameters:
updatedAt- updatedAt property. Specify an array of string values to match this event if the actual value of updatedAt 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<DetectorEvents.GuardDutyFinding.GuardDutyFindingProps>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.GuardDutyFindingProps - Throws:
NullPointerException- if any required attribute was not provided
-