Interface SecretVersionsListEntry.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>, SdkBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>, SdkPojo
Enclosing class:
SecretVersionsListEntry

@Mutable @NotThreadSafe public static interface SecretVersionsListEntry.Builder extends SdkPojo, CopyableBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>
  • Method Details

    • 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

      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.