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