Class DetectorEvents.GuardDutyFinding.Service.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.Service.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.Service>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.Service
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.Service.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.Service>
A builder for
DetectorEvents.GuardDutyFinding.Service-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDetectorEvents.GuardDutyFinding.Service.getAction()additionalInfo(DetectorEvents.GuardDutyFinding.AdditionalInfo additionalInfo) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getAdditionalInfo()Sets the value ofDetectorEvents.GuardDutyFinding.Service.getArchived()awsApiCallAction(DetectorEvents.GuardDutyFinding.AwsApiCallAction awsApiCallAction) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getAwsApiCallAction()build()Builds the configured instance.Sets the value ofDetectorEvents.GuardDutyFinding.Service.getCount()detectorId(List<String> detectorId) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getDetectorId()ebsVolumeScanDetails(DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails ebsVolumeScanDetails) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEbsVolumeScanDetails()eventFirstSeen(List<String> eventFirstSeen) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEventFirstSeen()eventLastSeen(List<String> eventLastSeen) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEventLastSeen()Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEvidence()featureName(List<String> featureName) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getFeatureName()resourceRole(List<String> resourceRole) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getResourceRole()serviceName(List<String> serviceName) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder action(DetectorEvents.GuardDutyFinding.Action action) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getAction()- Parameters:
action- action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
additionalInfo
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder additionalInfo(DetectorEvents.GuardDutyFinding.AdditionalInfo additionalInfo) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getAdditionalInfo()- Parameters:
additionalInfo- additionalInfo property. Specify an array of string values to match this event if the actual value of additionalInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
archived
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder archived(List<String> archived) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getArchived()- Parameters:
archived- archived property. Specify an array of string values to match this event if the actual value of archived is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
awsApiCallAction
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder awsApiCallAction(DetectorEvents.GuardDutyFinding.AwsApiCallAction awsApiCallAction) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getAwsApiCallAction()- Parameters:
awsApiCallAction- awsApiCallAction property. Specify an array of string values to match this event if the actual value of awsApiCallAction is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
count
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder count(List<String> count) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getCount()- Parameters:
count- count property. Specify an array of string values to match this event if the actual value of count is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
detectorId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder detectorId(List<String> detectorId) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getDetectorId()- Parameters:
detectorId- detectorId property. Specify an array of string values to match this event if the actual value of detectorId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ebsVolumeScanDetails
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder ebsVolumeScanDetails(DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails ebsVolumeScanDetails) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEbsVolumeScanDetails()- Parameters:
ebsVolumeScanDetails- ebsVolumeScanDetails property. Specify an array of string values to match this event if the actual value of ebsVolumeScanDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventFirstSeen
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder eventFirstSeen(List<String> eventFirstSeen) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEventFirstSeen()- Parameters:
eventFirstSeen- eventFirstSeen property. Specify an array of string values to match this event if the actual value of eventFirstSeen is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventLastSeen
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder eventLastSeen(List<String> eventLastSeen) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEventLastSeen()- Parameters:
eventLastSeen- eventLastSeen property. Specify an array of string values to match this event if the actual value of eventLastSeen is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
evidence
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder evidence(DetectorEvents.GuardDutyFinding.Evidence evidence) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getEvidence()- Parameters:
evidence- evidence property. Specify an array of string values to match this event if the actual value of evidence is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
featureName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder featureName(List<String> featureName) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getFeatureName()- Parameters:
featureName- featureName property. Specify an array of string values to match this event if the actual value of featureName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceRole
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder resourceRole(List<String> resourceRole) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getResourceRole()- Parameters:
resourceRole- resourceRole property. Specify an array of string values to match this event if the actual value of resourceRole is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serviceName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Service.Builder serviceName(List<String> serviceName) Sets the value ofDetectorEvents.GuardDutyFinding.Service.getServiceName()- Parameters:
serviceName- serviceName property. Specify an array of string values to match this event if the actual value of serviceName 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.Service>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.Service - Throws:
NullPointerException- if any required attribute was not provided
-