Class RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptedMediaTypes(List<String> acceptedMediaTypes) build()Builds the configured instance.imageIds(List<? extends RepositoryEvents.AWSAPICallViaCloudTrail.RequestParametersItem> imageIds) Sets the value ofRepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.getImageIds()registryId(List<String> registryId) repositoryName(List<String> repositoryName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptedMediaTypes
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder acceptedMediaTypes(List<String> acceptedMediaTypes) Sets the value ofRepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.getAcceptedMediaTypes()- Parameters:
acceptedMediaTypes- acceptedMediaTypes property. Specify an array of string values to match this event if the actual value of acceptedMediaTypes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imageIds
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder imageIds(List<? extends RepositoryEvents.AWSAPICallViaCloudTrail.RequestParametersItem> imageIds) Sets the value ofRepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.getImageIds()- Parameters:
imageIds- imageIds property. Specify an array of string values to match this event if the actual value of imageIds is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
registryId
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder registryId(List<String> registryId) - Parameters:
registryId- registryId property. Specify an array of string values to match this event if the actual value of registryId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryName
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder repositoryName(List<String> repositoryName) - Parameters:
repositoryName- repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName 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.RequestParameters>- Returns:
- a new instance of
RepositoryEvents.AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-