Class GuardDutyFinding.TaskDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.TaskDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.TaskDetails>
- Enclosing interface:
GuardDutyFinding.TaskDetails
@Stability(Experimental)
public static final class GuardDutyFinding.TaskDetails.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.TaskDetails>
A builder for
GuardDutyFinding.TaskDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofGuardDutyFinding.TaskDetails.getArn()build()Builds the configured instance.containers(List<? extends GuardDutyFinding.TaskDetailsItem> containers) Sets the value ofGuardDutyFinding.TaskDetails.getContainers()Sets the value ofGuardDutyFinding.TaskDetails.getCreatedAt()definitionArn(List<String> definitionArn) Sets the value ofGuardDutyFinding.TaskDetails.getDefinitionArn()Sets the value ofGuardDutyFinding.TaskDetails.getStartedAt()Sets the value ofGuardDutyFinding.TaskDetails.getStartedBy()Sets the value ofGuardDutyFinding.TaskDetails.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofGuardDutyFinding.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 GuardDutyFinding.TaskDetails.Builder containers(List<? extends GuardDutyFinding.TaskDetailsItem> containers) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.TaskDetails.Builder createdAt(List<String> createdAt) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.TaskDetails.Builder definitionArn(List<String> definitionArn) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.TaskDetails.Builder startedAt(List<String> startedAt) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.TaskDetails.Builder startedBy(List<String> startedBy) Sets the value ofGuardDutyFinding.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
Sets the value ofGuardDutyFinding.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<GuardDutyFinding.TaskDetails>- Returns:
- a new instance of
GuardDutyFinding.TaskDetails - Throws:
NullPointerException- if any required attribute was not provided
-