public static interface Archive.Builder extends SdkPojo, CopyableBuilder<Archive.Builder,Archive>
| Modifier and Type | Method and Description |
|---|---|
Archive.Builder |
archiveName(String archiveName)
The name of the archive.
|
Archive.Builder |
creationTime(Instant creationTime)
The time stamp for the time that the archive was created.
|
Archive.Builder |
eventCount(Long eventCount)
The number of events in the archive.
|
Archive.Builder |
eventSourceArn(String eventSourceArn)
The ARN of the event bus associated with the archive.
|
Archive.Builder |
retentionDays(Integer retentionDays)
The number of days to retain events in the archive before they are deleted.
|
Archive.Builder |
sizeBytes(Long sizeBytes)
The size of the archive, in bytes.
|
Archive.Builder |
state(ArchiveState state)
The current state of the archive.
|
Archive.Builder |
state(String state)
The current state of the archive.
|
Archive.Builder |
stateReason(String stateReason)
A description for the reason that the archive is in the current state.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildArchive.Builder archiveName(String archiveName)
The name of the archive.
archiveName - The name of the archive.Archive.Builder eventSourceArn(String eventSourceArn)
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
eventSourceArn - The ARN of the event bus associated with the archive. Only events from this event bus are sent to the
archive.Archive.Builder state(String state)
The current state of the archive.
state - The current state of the archive.ArchiveState,
ArchiveStateArchive.Builder state(ArchiveState state)
The current state of the archive.
state - The current state of the archive.ArchiveState,
ArchiveStateArchive.Builder stateReason(String stateReason)
A description for the reason that the archive is in the current state.
stateReason - A description for the reason that the archive is in the current state.Archive.Builder retentionDays(Integer retentionDays)
The number of days to retain events in the archive before they are deleted.
retentionDays - The number of days to retain events in the archive before they are deleted.Archive.Builder sizeBytes(Long sizeBytes)
The size of the archive, in bytes.
sizeBytes - The size of the archive, in bytes.Archive.Builder eventCount(Long eventCount)
The number of events in the archive.
eventCount - The number of events in the archive.Archive.Builder creationTime(Instant creationTime)
The time stamp for the time that the archive was created.
creationTime - The time stamp for the time that the archive was created.Copyright © 2023. All rights reserved.