Class AWSAPICallViaCloudTrail.Attributes.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.Attributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Attributes>
- Enclosing interface:
AWSAPICallViaCloudTrail.Attributes
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Attributes.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Attributes>
A builder for
AWSAPICallViaCloudTrail.Attributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.Attributes.getCreationDate()mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofAWSAPICallViaCloudTrail.Attributes.getMfaAuthenticated()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationDate
@Stability(Experimental) public AWSAPICallViaCloudTrail.Attributes.Builder creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.Attributes.Builder mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.Attributes>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Attributes - Throws:
NullPointerException- if any required attribute was not provided
-