Class ModelEvents.AWSAPICallViaCloudTrail.DataSource.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.ModelEvents.AWSAPICallViaCloudTrail.DataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.DataSource>
- Enclosing interface:
ModelEvents.AWSAPICallViaCloudTrail.DataSource
@Stability(Experimental)
public static final class ModelEvents.AWSAPICallViaCloudTrail.DataSource.Builder
extends Object
implements software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.DataSource>
A builder for
ModelEvents.AWSAPICallViaCloudTrail.DataSource-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3DataSource(ModelEvents.AWSAPICallViaCloudTrail.S3DataSource s3DataSource) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.DataSource.getS3DataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3DataSource
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.DataSource.Builder s3DataSource(ModelEvents.AWSAPICallViaCloudTrail.S3DataSource s3DataSource) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.DataSource.getS3DataSource()- Parameters:
s3DataSource- s3DataSource property. Specify an array of string values to match this event if the actual value of s3DataSource 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.DataSource>- Returns:
- a new instance of
ModelEvents.AWSAPICallViaCloudTrail.DataSource - Throws:
NullPointerException- if any required attribute was not provided
-