Class JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.events.JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobEvents.AWSAPICallViaCloudTrail.SessionIssuer>
- Enclosing interface:
JobEvents.AWSAPICallViaCloudTrail.SessionIssuer
@Stability(Experimental)
public static final class JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder
extends Object
implements software.amazon.jsii.Builder<JobEvents.AWSAPICallViaCloudTrail.SessionIssuer>
A builder for
JobEvents.AWSAPICallViaCloudTrail.SessionIssuer-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofJobEvents.AWSAPICallViaCloudTrail.SessionIssuer.getAccountId()Sets the value ofJobEvents.AWSAPICallViaCloudTrail.SessionIssuer.getArn()build()Builds the configured instance.principalId(List<String> principalId) Sets the value ofJobEvents.AWSAPICallViaCloudTrail.SessionIssuer.getPrincipalId()Sets the value ofJobEvents.AWSAPICallViaCloudTrail.SessionIssuer.getType()Sets the value ofJobEvents.AWSAPICallViaCloudTrail.SessionIssuer.getUserName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder accountId(List<String> accountId) Sets the value ofJobEvents.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 JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder arn(List<String> arn) Sets the value ofJobEvents.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 JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder principalId(List<String> principalId) Sets the value ofJobEvents.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 JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder type(List<String> type) Sets the value ofJobEvents.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 JobEvents.AWSAPICallViaCloudTrail.SessionIssuer.Builder userName(List<String> userName) Sets the value ofJobEvents.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<JobEvents.AWSAPICallViaCloudTrail.SessionIssuer>- Returns:
- a new instance of
JobEvents.AWSAPICallViaCloudTrail.SessionIssuer - Throws:
NullPointerException- if any required attribute was not provided
-