Class GuardDutyFinding.UserAgent.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.UserAgent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.UserAgent>
- Enclosing interface:
GuardDutyFinding.UserAgent
@Stability(Experimental)
public static final class GuardDutyFinding.UserAgent.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.UserAgent>
A builder for
GuardDutyFinding.UserAgent-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fullUserAgent(List<String> fullUserAgent) Sets the value ofGuardDutyFinding.UserAgent.getFullUserAgent()userAgentCategory(List<String> userAgentCategory) Sets the value ofGuardDutyFinding.UserAgent.getUserAgentCategory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fullUserAgent
@Stability(Experimental) public GuardDutyFinding.UserAgent.Builder fullUserAgent(List<String> fullUserAgent) Sets the value ofGuardDutyFinding.UserAgent.getFullUserAgent()- Parameters:
fullUserAgent- fullUserAgent property. Specify an array of string values to match this event if the actual value of fullUserAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userAgentCategory
@Stability(Experimental) public GuardDutyFinding.UserAgent.Builder userAgentCategory(List<String> userAgentCategory) Sets the value ofGuardDutyFinding.UserAgent.getUserAgentCategory()- Parameters:
userAgentCategory- userAgentCategory property. Specify an array of string values to match this event if the actual value of userAgentCategory 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.UserAgent>- Returns:
- a new instance of
GuardDutyFinding.UserAgent - Throws:
NullPointerException- if any required attribute was not provided
-