Class CfnLogGroupAuditLogsS3Props.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnLogGroupAuditLogsS3Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogGroupAuditLogsS3Props>
- Enclosing interface:
CfnLogGroupAuditLogsS3Props
@Stability(Experimental)
public static final class CfnLogGroupAuditLogsS3Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogGroupAuditLogsS3Props>
A builder for
CfnLogGroupAuditLogsS3Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionKey(IKeyRef encryptionKey) Sets the value ofCfnLogGroupAuditLogsS3Props.getEncryptionKey()outputFormat(CfnLogGroupAuditLogsOutputFormat.S3 outputFormat) Sets the value ofCfnLogGroupAuditLogsS3Props.getOutputFormat()recordFields(List<? extends CfnLogGroupAuditLogsRecordFields> recordFields) Sets the value ofCfnLogGroupAuditLogsS3Props.getRecordFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionKey
@Stability(Experimental) public CfnLogGroupAuditLogsS3Props.Builder encryptionKey(IKeyRef encryptionKey) Sets the value ofCfnLogGroupAuditLogsS3Props.getEncryptionKey()- Parameters:
encryptionKey- Encrpytion key for your delivery bucket.- Returns:
this
-
outputFormat
@Stability(Experimental) public CfnLogGroupAuditLogsS3Props.Builder outputFormat(CfnLogGroupAuditLogsOutputFormat.S3 outputFormat) Sets the value ofCfnLogGroupAuditLogsS3Props.getOutputFormat()- Parameters:
outputFormat- Format for log output, options are json,plain,w3c,parquet.- Returns:
this
-
recordFields
@Stability(Experimental) public CfnLogGroupAuditLogsS3Props.Builder recordFields(List<? extends CfnLogGroupAuditLogsRecordFields> recordFields) Sets the value ofCfnLogGroupAuditLogsS3Props.getRecordFields()- Parameters:
recordFields- Record fields that can be provided to a log delivery.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogGroupAuditLogsS3Props>- Returns:
- a new instance of
CfnLogGroupAuditLogsS3Props - Throws:
NullPointerException- if any required attribute was not provided
-