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