Class GetArchiveResponse

    • Method Detail

      • archiveArn

        public final String archiveArn()

        The Amazon Resource Name (ARN) of the archive.

        Returns:
        The Amazon Resource Name (ARN) of the archive.
      • archiveId

        public final String archiveId()

        The unique identifier of the archive.

        Returns:
        The unique identifier of the archive.
      • archiveName

        public final String archiveName()

        The unique name assigned to the archive.

        Returns:
        The unique name assigned to the archive.
      • archiveState

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, archiveState will return ArchiveState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from archiveStateAsString().

        Returns:
        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.

        See Also:
        ArchiveState
      • archiveStateAsString

        public final String archiveStateAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, archiveState will return ArchiveState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from archiveStateAsString().

        Returns:
        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.

        See Also:
        ArchiveState
      • createdTimestamp

        public final Instant createdTimestamp()

        The timestamp of when the archive was created.

        Returns:
        The timestamp of when the archive was created.
      • kmsKeyArn

        public final String kmsKeyArn()

        The Amazon Resource Name (ARN) of the KMS key used to encrypt the archive.

        Returns:
        The Amazon Resource Name (ARN) of the KMS key used to encrypt the archive.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The timestamp of when the archive was modified.

        Returns:
        The timestamp of when the archive was modified.
      • retention

        public final ArchiveRetention retention()

        The retention period for emails in this archive.

        Returns:
        The retention period for emails in this archive.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object