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