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