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