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