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.BuilderarchiveId(String archiveId)The unique identifier of the archive.Archive.BuilderarchiveName(String archiveName)The unique name assigned to the archive.Archive.BuilderarchiveState(String archiveState)The current state of the archive:Archive.BuilderarchiveState(ArchiveState archiveState)The current state of the archive:Archive.BuilderlastUpdatedTimestamp(Instant lastUpdatedTimestamp)The timestamp of when the archive was last updated.-
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
-
archiveId
Archive.Builder archiveId(String archiveId)
The unique identifier of the archive.
- Parameters:
archiveId- The unique identifier of the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveName
Archive.Builder archiveName(String archiveName)
The unique name assigned to the archive.
- Parameters:
archiveName- The unique name assigned to the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveState
Archive.Builder archiveState(String archiveState)
The current state of the archive:
-
ACTIVE– The archive is ready and available for use. -
PENDING_DELETION– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- Parameters:
archiveState- The current state of the archive:-
ACTIVE– The archive is ready and available for use. -
PENDING_DELETION– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchiveState,ArchiveState
-
-
archiveState
Archive.Builder archiveState(ArchiveState archiveState)
The current state of the archive:
-
ACTIVE– The archive is ready and available for use. -
PENDING_DELETION– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- Parameters:
archiveState- The current state of the archive:-
ACTIVE– The archive is ready and available for use. -
PENDING_DELETION– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArchiveState,ArchiveState
-
-
lastUpdatedTimestamp
Archive.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The timestamp of when the archive was last updated.
- Parameters:
lastUpdatedTimestamp- The timestamp of when the archive was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-