Class DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.AdditionalInfo>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.AdditionalInfo
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.AdditionalInfo>
A builder for
DetectorEvents.GuardDutyFinding.AdditionalInfo-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalScannedPorts(List<? extends Object> additionalScannedPorts) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getAnomalies()apiCalls(List<? extends DetectorEvents.GuardDutyFinding.AdditionalInfoItem> apiCalls) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getApiCalls()build()Builds the configured instance.Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getDomain()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getInBytes()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getLocalPort()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getNewPolicy()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getOldPolicy()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getOutBytes()portsScannedSample(List<? extends Number> portsScannedSample) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getPortsScannedSample()profiledBehavior(DetectorEvents.GuardDutyFinding.ProfiledBehavior profiledBehavior) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getProfiledBehavior()recentCredentials(List<? extends DetectorEvents.GuardDutyFinding.AdditionalInfoItem1> recentCredentials) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getRecentCredentials()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getSample()scannedPort(List<String> scannedPort) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getScannedPort()threatListName(List<String> threatListName) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getThreatListName()threatName(List<String> threatName) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getThreatName()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getType()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusual()unusualBehavior(DetectorEvents.GuardDutyFinding.UnusualBehavior unusualBehavior) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusualBehavior()unusualProtocol(List<String> unusualProtocol) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusualProtocol()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUserAgent()Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalScannedPorts
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder additionalScannedPorts(List<? extends Object> additionalScannedPorts) - Parameters:
additionalScannedPorts- additionalScannedPorts property. Specify an array of string values to match this event if the actual value of additionalScannedPorts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
anomalies
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder anomalies(DetectorEvents.GuardDutyFinding.Anomalies anomalies) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getAnomalies()- Parameters:
anomalies- anomalies property. Specify an array of string values to match this event if the actual value of anomalies is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
apiCalls
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder apiCalls(List<? extends DetectorEvents.GuardDutyFinding.AdditionalInfoItem> apiCalls) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getApiCalls()- Parameters:
apiCalls- apiCalls property. Specify an array of string values to match this event if the actual value of apiCalls is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
domain
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder domain(List<String> domain) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getDomain()- Parameters:
domain- domain property. Specify an array of string values to match this event if the actual value of domain is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inBytes
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder inBytes(List<String> inBytes) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getInBytes()- Parameters:
inBytes- inBytes property. Specify an array of string values to match this event if the actual value of inBytes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
localPort
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder localPort(List<String> localPort) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getLocalPort()- Parameters:
localPort- localPort property. Specify an array of string values to match this event if the actual value of localPort is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
newPolicy
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder newPolicy(DetectorEvents.GuardDutyFinding.NewPolicy newPolicy) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getNewPolicy()- Parameters:
newPolicy- newPolicy property. Specify an array of string values to match this event if the actual value of newPolicy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
oldPolicy
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder oldPolicy(DetectorEvents.GuardDutyFinding.OldPolicy oldPolicy) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getOldPolicy()- Parameters:
oldPolicy- oldPolicy property. Specify an array of string values to match this event if the actual value of oldPolicy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
outBytes
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder outBytes(List<String> outBytes) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getOutBytes()- Parameters:
outBytes- outBytes property. Specify an array of string values to match this event if the actual value of outBytes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
portsScannedSample
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder portsScannedSample(List<? extends Number> portsScannedSample) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getPortsScannedSample()- Parameters:
portsScannedSample- portsScannedSample property. Specify an array of string values to match this event if the actual value of portsScannedSample is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
profiledBehavior
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder profiledBehavior(DetectorEvents.GuardDutyFinding.ProfiledBehavior profiledBehavior) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getProfiledBehavior()- Parameters:
profiledBehavior- profiledBehavior property. Specify an array of string values to match this event if the actual value of profiledBehavior is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
recentCredentials
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder recentCredentials(List<? extends DetectorEvents.GuardDutyFinding.AdditionalInfoItem1> recentCredentials) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getRecentCredentials()- Parameters:
recentCredentials- recentCredentials property. Specify an array of string values to match this event if the actual value of recentCredentials is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sample
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder sample(List<String> sample) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getSample()- Parameters:
sample- sample property. Specify an array of string values to match this event if the actual value of sample is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scannedPort
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder scannedPort(List<String> scannedPort) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getScannedPort()- Parameters:
scannedPort- scannedPort property. Specify an array of string values to match this event if the actual value of scannedPort is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
threatListName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder threatListName(List<String> threatListName) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getThreatListName()- Parameters:
threatListName- threatListName property. Specify an array of string values to match this event if the actual value of threatListName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
threatName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder threatName(List<String> threatName) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getThreatName()- Parameters:
threatName- threatName property. Specify an array of string values to match this event if the actual value of threatName 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.AdditionalInfo.Builder type(List<String> type) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.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
-
unusual
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder unusual(Object unusual) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusual()- Parameters:
unusual- unusual property. Specify an array of string values to match this event if the actual value of unusual is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualBehavior
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder unusualBehavior(DetectorEvents.GuardDutyFinding.UnusualBehavior unusualBehavior) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusualBehavior()- Parameters:
unusualBehavior- unusualBehavior property. Specify an array of string values to match this event if the actual value of unusualBehavior is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualProtocol
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder unusualProtocol(List<String> unusualProtocol) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUnusualProtocol()- Parameters:
unusualProtocol- unusualProtocol property. Specify an array of string values to match this event if the actual value of unusualProtocol is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userAgent
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder userAgent(DetectorEvents.GuardDutyFinding.UserAgent userAgent) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getUserAgent()- Parameters:
userAgent- userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
value
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.AdditionalInfo.Builder value(List<String> value) Sets the value ofDetectorEvents.GuardDutyFinding.AdditionalInfo.getValue()- Parameters:
value- value property. Specify an array of string values to match this event if the actual value of value 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.AdditionalInfo>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.AdditionalInfo - Throws:
NullPointerException- if any required attribute was not provided
-