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