Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.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 TypeMethodDescriptionbucketName(List<String> bucketName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getBucketName()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getHost()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getKey()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLegalHold()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRetention()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder bucketName(List<String> bucketName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getBucketName()- Parameters:
bucketName- bucketName property. Specify an array of string values to match this event if the actual value of bucketName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
host
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder host(List<String> host) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getHost()- Parameters:
host- Host property. Specify an array of string values to match this event if the actual value of Host is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
key
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder key(List<String> key) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getKey()- Parameters:
key- key property. Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
legalHold
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder legalHold(List<String> legalHold) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLegalHold()- Parameters:
legalHold- legal-hold property. Specify an array of string values to match this event if the actual value of legal-hold is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
retention
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder retention(List<String> retention) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getRetention()- Parameters:
retention- retention property. Specify an array of string values to match this event if the actual value of retention 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
-