Interface ListSecretVersionIdsRequest.Builder

    • Method Detail

      • secretId

        ListSecretVersionIdsRequest.Builder secretId​(String secretId)

        The ARN or name of the secret whose versions you want to list.

        For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

        Parameters:
        secretId - The ARN or name of the secret whose versions you want to list.

        For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListSecretVersionIdsRequest.Builder maxResults​(Integer maxResults)

        The number of results to include in the response.

        If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListSecretVersionIds again with the value from NextToken.

        Parameters:
        maxResults - The number of results to include in the response.

        If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListSecretVersionIds again with the value from NextToken.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListSecretVersionIdsRequest.Builder nextToken​(String nextToken)

        A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecretVersionIds again with this value.

        Parameters:
        nextToken - A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecretVersionIds again with this value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeDeprecated

        ListSecretVersionIdsRequest.Builder includeDeprecated​(Boolean includeDeprecated)

        Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.

        Parameters:
        includeDeprecated - Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.
        Returns:
        Returns a reference to this object so that method calls can be chained together.