Interface Archive.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Archive.Builder,Archive>,SdkBuilder<Archive.Builder,Archive>,SdkPojo
- Enclosing class:
- Archive
public static interface Archive.Builder extends SdkPojo, CopyableBuilder<Archive.Builder,Archive>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Archive.BuilderarchiveName(String archiveName)The name of the archive.Archive.BuildercreationTime(Instant creationTime)The time stamp for the time that the archive was created.Archive.BuildereventCount(Long eventCount)The number of events in the archive.Archive.BuildereventSourceArn(String eventSourceArn)The ARN of the event bus associated with the archive.Archive.BuilderretentionDays(Integer retentionDays)The number of days to retain events in the archive before they are deleted.Archive.BuildersizeBytes(Long sizeBytes)The size of the archive, in bytes.Archive.Builderstate(String state)The current state of the archive.Archive.Builderstate(ArchiveState state)The current state of the archive.Archive.BuilderstateReason(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 Detail
-
archiveName
Archive.Builder archiveName(String 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
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.
- 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
Archive.Builder state(String 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:
ArchiveState,ArchiveState
-
state
Archive.Builder state(ArchiveState 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:
ArchiveState,ArchiveState
-
stateReason
Archive.Builder stateReason(String 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
Archive.Builder retentionDays(Integer 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
Archive.Builder sizeBytes(Long 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
Archive.Builder eventCount(Long 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
Archive.Builder creationTime(Instant 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.
-
-