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