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