Class GuardDutyMalwareProtectionObjectScanResult.Threat.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyMalwareProtectionObjectScanResult.Threat.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyMalwareProtectionObjectScanResult.Threat>
- Enclosing interface:
GuardDutyMalwareProtectionObjectScanResult.Threat
@Stability(Experimental)
public static final class GuardDutyMalwareProtectionObjectScanResult.Threat.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyMalwareProtectionObjectScanResult.Threat>
A builder for
GuardDutyMalwareProtectionObjectScanResult.Threat-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGuardDutyMalwareProtectionObjectScanResult.Threat.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Experimental) public GuardDutyMalwareProtectionObjectScanResult.Threat.Builder name(List<String> name) Sets the value ofGuardDutyMalwareProtectionObjectScanResult.Threat.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name 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<GuardDutyMalwareProtectionObjectScanResult.Threat>- Returns:
- a new instance of
GuardDutyMalwareProtectionObjectScanResult.Threat - Throws:
NullPointerException- if any required attribute was not provided
-