Class GuardDutyFinding.Service.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.Service.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.Service>
- Enclosing interface:
GuardDutyFinding.Service
@Stability(Experimental)
public static final class GuardDutyFinding.Service.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.Service>
A builder for
GuardDutyFinding.Service-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(GuardDutyFinding.Action action) Sets the value ofGuardDutyFinding.Service.getAction()additionalInfo(GuardDutyFinding.AdditionalInfo additionalInfo) Sets the value ofGuardDutyFinding.Service.getAdditionalInfo()Sets the value ofGuardDutyFinding.Service.getArchived()awsApiCallAction(GuardDutyFinding.AwsApiCallAction awsApiCallAction) Sets the value ofGuardDutyFinding.Service.getAwsApiCallAction()build()Builds the configured instance.Sets the value ofGuardDutyFinding.Service.getCount()detectorId(List<String> detectorId) Sets the value ofGuardDutyFinding.Service.getDetectorId()ebsVolumeScanDetails(GuardDutyFinding.EbsVolumeScanDetails ebsVolumeScanDetails) Sets the value ofGuardDutyFinding.Service.getEbsVolumeScanDetails()eventFirstSeen(List<String> eventFirstSeen) Sets the value ofGuardDutyFinding.Service.getEventFirstSeen()eventLastSeen(List<String> eventLastSeen) Sets the value ofGuardDutyFinding.Service.getEventLastSeen()evidence(GuardDutyFinding.Evidence evidence) Sets the value ofGuardDutyFinding.Service.getEvidence()featureName(List<String> featureName) Sets the value ofGuardDutyFinding.Service.getFeatureName()resourceRole(List<String> resourceRole) Sets the value ofGuardDutyFinding.Service.getResourceRole()serviceName(List<String> serviceName) Sets the value ofGuardDutyFinding.Service.getServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public GuardDutyFinding.Service.Builder action(GuardDutyFinding.Action action) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder additionalInfo(GuardDutyFinding.AdditionalInfo additionalInfo) Sets the value ofGuardDutyFinding.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
Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder awsApiCallAction(GuardDutyFinding.AwsApiCallAction awsApiCallAction) Sets the value ofGuardDutyFinding.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
Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder detectorId(List<String> detectorId) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder ebsVolumeScanDetails(GuardDutyFinding.EbsVolumeScanDetails ebsVolumeScanDetails) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder eventFirstSeen(List<String> eventFirstSeen) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder eventLastSeen(List<String> eventLastSeen) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder evidence(GuardDutyFinding.Evidence evidence) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder featureName(List<String> featureName) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder resourceRole(List<String> resourceRole) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Service.Builder serviceName(List<String> serviceName) Sets the value ofGuardDutyFinding.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<GuardDutyFinding.Service>- Returns:
- a new instance of
GuardDutyFinding.Service - Throws:
NullPointerException- if any required attribute was not provided
-