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