Class GuardDutyFinding.TaskDetailsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.TaskDetailsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.TaskDetailsItem>
- Enclosing interface:
GuardDutyFinding.TaskDetailsItem
@Stability(Experimental)
public static final class GuardDutyFinding.TaskDetailsItem.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.TaskDetailsItem>
A builder for
GuardDutyFinding.TaskDetailsItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGuardDutyFinding.TaskDetailsItem.getImage()Sets the value ofGuardDutyFinding.TaskDetailsItem.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
image
Sets the value ofGuardDutyFinding.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
Sets the value ofGuardDutyFinding.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<GuardDutyFinding.TaskDetailsItem>- Returns:
- a new instance of
GuardDutyFinding.TaskDetailsItem - Throws:
NullPointerException- if any required attribute was not provided
-