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