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