@Stability(value=Experimental) public static final class BaseArchiveProps.Builder extends Object implements software.amazon.jsii.Builder<BaseArchiveProps>
BaseArchiveProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BaseArchiveProps.Builder |
archiveName(String archiveName)
Sets the value of
BaseArchiveProps.getArchiveName() |
BaseArchiveProps |
build()
Builds the configured instance.
|
BaseArchiveProps.Builder |
description(String description)
Sets the value of
BaseArchiveProps.getDescription() |
BaseArchiveProps.Builder |
eventPattern(EventPattern eventPattern)
Sets the value of
BaseArchiveProps.getEventPattern() |
BaseArchiveProps.Builder |
retention(Duration retention)
Sets the value of
BaseArchiveProps.getRetention() |
@Stability(value=Experimental) public BaseArchiveProps.Builder eventPattern(EventPattern eventPattern)
BaseArchiveProps.getEventPattern()eventPattern - An event pattern to use to filter events sent to the archive. This parameter is required.this@Stability(value=Experimental) public BaseArchiveProps.Builder archiveName(String archiveName)
BaseArchiveProps.getArchiveName()archiveName - The name of the archive.this@Stability(value=Experimental) public BaseArchiveProps.Builder description(String description)
BaseArchiveProps.getDescription()description - A description for the archive.this@Stability(value=Experimental) public BaseArchiveProps.Builder retention(Duration retention)
BaseArchiveProps.getRetention()retention - The number of days to retain events for.
Default value is 0. If set to 0, events are retained indefinitely.this@Stability(value=Experimental) public BaseArchiveProps build()
build in interface software.amazon.jsii.Builder<BaseArchiveProps>BaseArchivePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.