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