Class BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData>
- Enclosing interface:
BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData
@Stability(Experimental)
public static final class BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder
extends Object
implements software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData>
A builder for
BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMethod(List<String> authenticationMethod) build()Builds the configured instance.bytesTransferredIn(List<String> bytesTransferredIn) bytesTransferredOut(List<String> bytesTransferredOut) cipherSuite(List<String> cipherSuite) objectRetentionInfo(BucketEvents.AWSAPICallViaCloudTrail.ObjectRetentionInfo objectRetentionInfo) signatureVersion(List<String> signatureVersion) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.getXAmzId2()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationMethod
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder authenticationMethod(List<String> authenticationMethod) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.getAuthenticationMethod()- Parameters:
authenticationMethod- AuthenticationMethod property. Specify an array of string values to match this event if the actual value of AuthenticationMethod is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
bytesTransferredIn
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder bytesTransferredIn(List<String> bytesTransferredIn) - Parameters:
bytesTransferredIn- bytesTransferredIn property. Specify an array of string values to match this event if the actual value of bytesTransferredIn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
bytesTransferredOut
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder bytesTransferredOut(List<String> bytesTransferredOut) - Parameters:
bytesTransferredOut- bytesTransferredOut property. Specify an array of string values to match this event if the actual value of bytesTransferredOut is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
cipherSuite
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder cipherSuite(List<String> cipherSuite) - Parameters:
cipherSuite- CipherSuite property. Specify an array of string values to match this event if the actual value of CipherSuite is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
objectRetentionInfo
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder objectRetentionInfo(BucketEvents.AWSAPICallViaCloudTrail.ObjectRetentionInfo objectRetentionInfo) - Parameters:
objectRetentionInfo- objectRetentionInfo property. Specify an array of string values to match this event if the actual value of objectRetentionInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
signatureVersion
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder signatureVersion(List<String> signatureVersion) - Parameters:
signatureVersion- SignatureVersion property. Specify an array of string values to match this event if the actual value of SignatureVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
xAmzId2
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.Builder xAmzId2(List<String> xAmzId2) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData.getXAmzId2()- Parameters:
xAmzId2- x-amz-id-2 property. Specify an array of string values to match this event if the actual value of x-amz-id-2 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<BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData>- Returns:
- a new instance of
BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData - Throws:
NullPointerException- if any required attribute was not provided
-