@Stability(value=Stable) public static final class CfnArchiveProps.Builder extends Object implements software.amazon.jsii.Builder<CfnArchiveProps>
CfnArchiveProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnArchiveProps.Builder |
archiveName(String archiveName)
Sets the value of
CfnArchiveProps.getArchiveName() |
CfnArchiveProps |
build()
Builds the configured instance.
|
CfnArchiveProps.Builder |
description(String description)
Sets the value of
CfnArchiveProps.getDescription() |
CfnArchiveProps.Builder |
eventPattern(Object eventPattern)
Sets the value of
CfnArchiveProps.getEventPattern() |
CfnArchiveProps.Builder |
retentionDays(Number retentionDays)
Sets the value of
CfnArchiveProps.getRetentionDays() |
CfnArchiveProps.Builder |
sourceArn(String sourceArn)
Sets the value of
CfnArchiveProps.getSourceArn() |
@Stability(value=Stable) public CfnArchiveProps.Builder sourceArn(String sourceArn)
CfnArchiveProps.getSourceArn()sourceArn - The ARN of the event bus that sends events to the archive. This parameter is required.this@Stability(value=Stable) public CfnArchiveProps.Builder archiveName(String archiveName)
CfnArchiveProps.getArchiveName()archiveName - The name for the archive to create.this@Stability(value=Stable) public CfnArchiveProps.Builder description(String description)
CfnArchiveProps.getDescription()description - A description for the archive.this@Stability(value=Stable) public CfnArchiveProps.Builder eventPattern(Object eventPattern)
CfnArchiveProps.getEventPattern()eventPattern - An event pattern to use to filter events sent to the archive.this@Stability(value=Stable) public CfnArchiveProps.Builder retentionDays(Number retentionDays)
CfnArchiveProps.getRetentionDays()retentionDays - The number of days to retain events for.
Default value is 0. If set to 0, events are retained indefinitelythis@Stability(value=Stable) public CfnArchiveProps build()
build in interface software.amazon.jsii.Builder<CfnArchiveProps>CfnArchivePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.