Interface SecretVersionsListEntry.Builder

    • Method Detail

      • versionId

        SecretVersionsListEntry.Builder versionId​(String versionId)

        The unique version identifier of this version of the secret.

        Parameters:
        versionId - The unique version identifier of this version of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionStages

        SecretVersionsListEntry.Builder versionStages​(Collection<String> versionStages)

        An array of staging labels that are currently associated with this version of the secret.

        Parameters:
        versionStages - An array of staging labels that are currently associated with this version of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionStages

        SecretVersionsListEntry.Builder versionStages​(String... versionStages)

        An array of staging labels that are currently associated with this version of the secret.

        Parameters:
        versionStages - An array of staging labels that are currently associated with this version of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastAccessedDate

        SecretVersionsListEntry.Builder lastAccessedDate​(Instant lastAccessedDate)

        The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.

        Parameters:
        lastAccessedDate - The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        SecretVersionsListEntry.Builder createdDate​(Instant createdDate)

        The date and time this version of the secret was created.

        Parameters:
        createdDate - The date and time this version of the secret was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyIds

        SecretVersionsListEntry.Builder kmsKeyIds​(Collection<String> kmsKeyIds)

        The KMS keys used to encrypt the secret version.

        Parameters:
        kmsKeyIds - The KMS keys used to encrypt the secret version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyIds

        SecretVersionsListEntry.Builder kmsKeyIds​(String... kmsKeyIds)

        The KMS keys used to encrypt the secret version.

        Parameters:
        kmsKeyIds - The KMS keys used to encrypt the secret version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.