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