Class AWSAPICallViaCloudTrail.AdditionalEventData.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.AWSAPICallViaCloudTrail.AdditionalEventData.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AdditionalEventData>
- Enclosing interface:
AWSAPICallViaCloudTrail.AdditionalEventData
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.AdditionalEventData.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AdditionalEventData>
A builder for
AWSAPICallViaCloudTrail.AdditionalEventData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMethod(List<String> authenticationMethod) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getAuthenticationMethod()build()Builds the configured instance.bytesTransferredIn(List<String> bytesTransferredIn) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getBytesTransferredIn()bytesTransferredOut(List<String> bytesTransferredOut) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getBytesTransferredOut()cipherSuite(List<String> cipherSuite) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getCipherSuite()objectRetentionInfo(AWSAPICallViaCloudTrail.ObjectRetentionInfo objectRetentionInfo) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getObjectRetentionInfo()signatureVersion(List<String> signatureVersion) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getSignatureVersion()Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getXAmzId2()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationMethod
@Stability(Experimental) public AWSAPICallViaCloudTrail.AdditionalEventData.Builder authenticationMethod(List<String> authenticationMethod) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder bytesTransferredIn(List<String> bytesTransferredIn) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getBytesTransferredIn()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder bytesTransferredOut(List<String> bytesTransferredOut) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getBytesTransferredOut()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder cipherSuite(List<String> cipherSuite) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getCipherSuite()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder objectRetentionInfo(AWSAPICallViaCloudTrail.ObjectRetentionInfo objectRetentionInfo) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getObjectRetentionInfo()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder signatureVersion(List<String> signatureVersion) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getSignatureVersion()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder xAmzId2(List<String> xAmzId2) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.AdditionalEventData>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.AdditionalEventData - Throws:
NullPointerException- if any required attribute was not provided
-