Class GuardDutyFinding.UnusualBehavior.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.UnusualBehavior.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.UnusualBehavior>
- Enclosing interface:
GuardDutyFinding.UnusualBehavior
@Stability(Experimental)
public static final class GuardDutyFinding.UnusualBehavior.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.UnusualBehavior>
A builder for
GuardDutyFinding.UnusualBehavior-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.isUnusualUserIdentity(List<String> isUnusualUserIdentity) Sets the value ofGuardDutyFinding.UnusualBehavior.getIsUnusualUserIdentity()numberOfPast24HoursApIsBucketProfiling(List<String> numberOfPast24HoursApIsBucketProfiling) numberOfPast24HoursApIsBucketUserIdentityProfiling(List<String> numberOfPast24HoursApIsBucketUserIdentityProfiling) numberOfPast24HoursApIsUserIdentityProfiling(List<String> numberOfPast24HoursApIsUserIdentityProfiling) unusualApIsAccountProfiling(List<String> unusualApIsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualApIsAccountProfiling()unusualApIsUserIdentityProfiling(List<String> unusualApIsUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualApIsUserIdentityProfiling()unusualAsNsAccountProfiling(List<String> unusualAsNsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsAccountProfiling()unusualAsNsBucketProfiling(List<String> unusualAsNsBucketProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsBucketProfiling()unusualAsNsUserIdentityProfiling(List<String> unusualAsNsUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsUserIdentityProfiling()unusualBucketsAccountProfiling(List<String> unusualBucketsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualBucketsAccountProfiling()unusualBucketsUserIdentityProfiling(List<String> unusualBucketsUserIdentityProfiling) unusualUserAgentsAccountProfiling(List<String> unusualUserAgentsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserAgentsAccountProfiling()unusualUserAgentsUserIdentityProfiling(List<String> unusualUserAgentsUserIdentityProfiling) unusualUserNamesAccountProfiling(List<String> unusualUserNamesAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserNamesAccountProfiling()unusualUserNamesBucketProfiling(List<String> unusualUserNamesBucketProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserNamesBucketProfiling()unusualUserTypesAccountProfiling(List<String> unusualUserTypesAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserTypesAccountProfiling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isUnusualUserIdentity
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder isUnusualUserIdentity(List<String> isUnusualUserIdentity) Sets the value ofGuardDutyFinding.UnusualBehavior.getIsUnusualUserIdentity()- Parameters:
isUnusualUserIdentity- isUnusualUserIdentity property. Specify an array of string values to match this event if the actual value of isUnusualUserIdentity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
numberOfPast24HoursApIsBucketProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder numberOfPast24HoursApIsBucketProfiling(List<String> numberOfPast24HoursApIsBucketProfiling) - Parameters:
numberOfPast24HoursApIsBucketProfiling- numberOfPast24HoursAPIsBucketProfiling property. Specify an array of string values to match this event if the actual value of numberOfPast24HoursAPIsBucketProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
numberOfPast24HoursApIsBucketUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder numberOfPast24HoursApIsBucketUserIdentityProfiling(List<String> numberOfPast24HoursApIsBucketUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getNumberOfPast24HoursApIsBucketUserIdentityProfiling()- Parameters:
numberOfPast24HoursApIsBucketUserIdentityProfiling- numberOfPast24HoursAPIsBucketUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of numberOfPast24HoursAPIsBucketUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
numberOfPast24HoursApIsUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder numberOfPast24HoursApIsUserIdentityProfiling(List<String> numberOfPast24HoursApIsUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getNumberOfPast24HoursApIsUserIdentityProfiling()- Parameters:
numberOfPast24HoursApIsUserIdentityProfiling- numberOfPast24HoursAPIsUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of numberOfPast24HoursAPIsUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualApIsAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualApIsAccountProfiling(List<String> unusualApIsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualApIsAccountProfiling()- Parameters:
unusualApIsAccountProfiling- unusualAPIsAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualAPIsAccountProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualApIsUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualApIsUserIdentityProfiling(List<String> unusualApIsUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualApIsUserIdentityProfiling()- Parameters:
unusualApIsUserIdentityProfiling- unusualAPIsUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of unusualAPIsUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualAsNsAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualAsNsAccountProfiling(List<String> unusualAsNsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsAccountProfiling()- Parameters:
unusualAsNsAccountProfiling- unusualASNsAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualASNsAccountProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualAsNsBucketProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualAsNsBucketProfiling(List<String> unusualAsNsBucketProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsBucketProfiling()- Parameters:
unusualAsNsBucketProfiling- unusualASNsBucketProfiling property. Specify an array of string values to match this event if the actual value of unusualASNsBucketProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualAsNsUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualAsNsUserIdentityProfiling(List<String> unusualAsNsUserIdentityProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualAsNsUserIdentityProfiling()- Parameters:
unusualAsNsUserIdentityProfiling- unusualASNsUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of unusualASNsUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualBucketsAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualBucketsAccountProfiling(List<String> unusualBucketsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualBucketsAccountProfiling()- Parameters:
unusualBucketsAccountProfiling- unusualBucketsAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualBucketsAccountProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualBucketsUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualBucketsUserIdentityProfiling(List<String> unusualBucketsUserIdentityProfiling) - Parameters:
unusualBucketsUserIdentityProfiling- unusualBucketsUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of unusualBucketsUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualUserAgentsAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualUserAgentsAccountProfiling(List<String> unusualUserAgentsAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserAgentsAccountProfiling()- Parameters:
unusualUserAgentsAccountProfiling- unusualUserAgentsAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualUserAgentsAccountProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualUserAgentsUserIdentityProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualUserAgentsUserIdentityProfiling(List<String> unusualUserAgentsUserIdentityProfiling) - Parameters:
unusualUserAgentsUserIdentityProfiling- unusualUserAgentsUserIdentityProfiling property. Specify an array of string values to match this event if the actual value of unusualUserAgentsUserIdentityProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualUserNamesAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualUserNamesAccountProfiling(List<String> unusualUserNamesAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserNamesAccountProfiling()- Parameters:
unusualUserNamesAccountProfiling- unusualUserNamesAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualUserNamesAccountProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualUserNamesBucketProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualUserNamesBucketProfiling(List<String> unusualUserNamesBucketProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserNamesBucketProfiling()- Parameters:
unusualUserNamesBucketProfiling- unusualUserNamesBucketProfiling property. Specify an array of string values to match this event if the actual value of unusualUserNamesBucketProfiling is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unusualUserTypesAccountProfiling
@Stability(Experimental) public GuardDutyFinding.UnusualBehavior.Builder unusualUserTypesAccountProfiling(List<String> unusualUserTypesAccountProfiling) Sets the value ofGuardDutyFinding.UnusualBehavior.getUnusualUserTypesAccountProfiling()- Parameters:
unusualUserTypesAccountProfiling- unusualUserTypesAccountProfiling property. Specify an array of string values to match this event if the actual value of unusualUserTypesAccountProfiling 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.UnusualBehavior>- Returns:
- a new instance of
GuardDutyFinding.UnusualBehavior - Throws:
NullPointerException- if any required attribute was not provided
-