Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
A builder for
AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptedMediaTypes(List<String> acceptedMediaTypes) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getAcceptedMediaTypes()build()Builds the configured instance.imageIds(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> imageIds) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getImageIds()registryId(List<String> registryId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRegistryId()repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRepositoryName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptedMediaTypes
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder acceptedMediaTypes(List<String> acceptedMediaTypes) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder imageIds(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> imageIds) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder registryId(List<String> registryId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRegistryId()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRepositoryName()- 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<AWSAPICallViaCloudTrail.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-