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