Class GuardDutyFinding.InstanceDetailsItem1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.InstanceDetailsItem1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.InstanceDetailsItem1>
- Enclosing interface:
GuardDutyFinding.InstanceDetailsItem1
@Stability(Experimental)
public static final class GuardDutyFinding.InstanceDetailsItem1.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.InstanceDetailsItem1>
A builder for
GuardDutyFinding.InstanceDetailsItem1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.productCodeId(List<String> productCodeId) Sets the value ofGuardDutyFinding.InstanceDetailsItem1.getProductCodeId()productCodeType(List<String> productCodeType) Sets the value ofGuardDutyFinding.InstanceDetailsItem1.getProductCodeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
productCodeId
@Stability(Experimental) public GuardDutyFinding.InstanceDetailsItem1.Builder productCodeId(List<String> productCodeId) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.InstanceDetailsItem1.Builder productCodeType(List<String> productCodeType) Sets the value ofGuardDutyFinding.InstanceDetailsItem1.getProductCodeType()- 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<GuardDutyFinding.InstanceDetailsItem1>- Returns:
- a new instance of
GuardDutyFinding.InstanceDetailsItem1 - Throws:
NullPointerException- if any required attribute was not provided
-