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