Interface SecretValueEntry.Builder

    • Method Detail

      • arn

        SecretValueEntry.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the secret.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        SecretValueEntry.Builder name​(String name)

        The friendly name of the secret.

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

        SecretValueEntry.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.
      • secretBinary

        SecretValueEntry.Builder secretBinary​(SdkBytes secretBinary)

        The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.

        Parameters:
        secretBinary - The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretString

        SecretValueEntry.Builder secretString​(String secretString)

        The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

        Parameters:
        secretString - The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionStages

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

        A list of all of the staging labels currently attached to this version of the secret.

        Parameters:
        versionStages - A list of all of the staging labels currently attached to this version of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionStages

        SecretValueEntry.Builder versionStages​(String... versionStages)

        A list of all of the staging labels currently attached to this version of the secret.

        Parameters:
        versionStages - A list of all of the staging labels currently attached to this version of the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        SecretValueEntry.Builder createdDate​(Instant createdDate)

        The date the secret was created.

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