Class BucketEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.SessionContext>
- Enclosing interface:
BucketEvents.AWSAPICallViaCloudTrail.SessionContext
@Stability(Experimental)
public static final class BucketEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
extends Object
implements software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.SessionContext>
A builder for
BucketEvents.AWSAPICallViaCloudTrail.SessionContext-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBucketEvents.AWSAPICallViaCloudTrail.SessionContext.getAttributes()build()Builds the configured instance.sessionIssuer(BucketEvents.AWSAPICallViaCloudTrail.SessionIssuer sessionIssuer) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.SessionContext.getSessionIssuer()webIdFederationData(List<String> webIdFederationData)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.SessionContext.Builder attributes(BucketEvents.AWSAPICallViaCloudTrail.Attributes attributes) Sets the value ofBucketEvents.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 BucketEvents.AWSAPICallViaCloudTrail.SessionContext.Builder sessionIssuer(BucketEvents.AWSAPICallViaCloudTrail.SessionIssuer sessionIssuer) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.SessionContext.getSessionIssuer()- 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 BucketEvents.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<BucketEvents.AWSAPICallViaCloudTrail.SessionContext>- Returns:
- a new instance of
BucketEvents.AWSAPICallViaCloudTrail.SessionContext - Throws:
NullPointerException- if any required attribute was not provided
-