public static interface DescribeArchiveResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeArchiveResponse.Builder,DescribeArchiveResponse>
Modifier and Type | Method and Description |
---|---|
DescribeArchiveResponse.Builder |
archiveArn(String archiveArn)
The ARN of the archive.
|
DescribeArchiveResponse.Builder |
archiveName(String archiveName)
The name of the archive.
|
DescribeArchiveResponse.Builder |
creationTime(Instant creationTime)
The time at which the archive was created.
|
DescribeArchiveResponse.Builder |
description(String description)
The description of the archive.
|
DescribeArchiveResponse.Builder |
eventCount(Long eventCount)
The number of events in the archive.
|
DescribeArchiveResponse.Builder |
eventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
|
DescribeArchiveResponse.Builder |
eventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
|
DescribeArchiveResponse.Builder |
retentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
|
DescribeArchiveResponse.Builder |
sizeBytes(Long sizeBytes)
The size of the archive in bytes.
|
DescribeArchiveResponse.Builder |
state(ArchiveState state)
The state of the archive.
|
DescribeArchiveResponse.Builder |
state(String state)
The state of the archive.
|
DescribeArchiveResponse.Builder |
stateReason(String stateReason)
The reason that the archive is in the state.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeArchiveResponse.Builder archiveArn(String archiveArn)
The ARN of the archive.
archiveArn
- The ARN of the archive.DescribeArchiveResponse.Builder archiveName(String archiveName)
The name of the archive.
archiveName
- The name of the archive.DescribeArchiveResponse.Builder eventSourceArn(String eventSourceArn)
The ARN of the event source associated with the archive.
eventSourceArn
- The ARN of the event source associated with the archive.DescribeArchiveResponse.Builder description(String description)
The description of the archive.
description
- The description of the archive.DescribeArchiveResponse.Builder eventPattern(String eventPattern)
The event pattern used to filter events sent to the archive.
eventPattern
- The event pattern used to filter events sent to the archive.DescribeArchiveResponse.Builder state(String state)
The state of the archive.
state
- The state of the archive.ArchiveState
,
ArchiveState
DescribeArchiveResponse.Builder state(ArchiveState state)
The state of the archive.
state
- The state of the archive.ArchiveState
,
ArchiveState
DescribeArchiveResponse.Builder stateReason(String stateReason)
The reason that the archive is in the state.
stateReason
- The reason that the archive is in the state.DescribeArchiveResponse.Builder retentionDays(Integer retentionDays)
The number of days to retain events for in the archive.
retentionDays
- The number of days to retain events for in the archive.DescribeArchiveResponse.Builder sizeBytes(Long sizeBytes)
The size of the archive in bytes.
sizeBytes
- The size of the archive in bytes.DescribeArchiveResponse.Builder eventCount(Long eventCount)
The number of events in the archive.
eventCount
- The number of events in the archive.DescribeArchiveResponse.Builder creationTime(Instant creationTime)
The time at which the archive was created.
creationTime
- The time at which the archive was created.Copyright © 2022. All rights reserved.