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