Interface Archive.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Archive.Builder,
,Archive> SdkBuilder<Archive.Builder,
,Archive> SdkPojo
- Enclosing class:
Archive
-
Method Summary
Modifier and TypeMethodDescriptionarchiveName
(String archiveName) The name of the archive.creationTime
(Instant creationTime) The time stamp for the time that the archive was created.eventCount
(Long eventCount) The number of events in the archive.eventSourceArn
(String eventSourceArn) The ARN of the event bus associated with the archive.retentionDays
(Integer retentionDays) The number of days to retain events in the archive before they are deleted.The size of the archive, in bytes.The current state of the archive.state
(ArchiveState state) The current state of the archive.stateReason
(String stateReason) A description for the reason that the archive is in the current state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
archiveName
The name of the archive.
- Parameters:
archiveName
- The name of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceArn
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
- Parameters:
eventSourceArn
- The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the archive.
- Parameters:
state
- The current state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the archive.
- Parameters:
state
- The current state of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
A description for the reason that the archive is in the current state.
- Parameters:
stateReason
- A description for the reason that the archive is in the current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionDays
The number of days to retain events in the archive before they are deleted.
- Parameters:
retentionDays
- The number of days to retain events in the archive before they are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
The size of the archive, in bytes.
- Parameters:
sizeBytes
- The size of the archive, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCount
The number of events in the archive.
- Parameters:
eventCount
- The number of events in the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time stamp for the time that the archive was created.
- Parameters:
creationTime
- The time stamp for the time that the archive was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-