Interface ListSecretsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListSecretsResponse.Builder,ListSecretsResponse>, SdkBuilder<ListSecretsResponse.Builder,ListSecretsResponse>, SdkPojo, SdkResponse.Builder, SecretsManagerResponse.Builder
Enclosing class:
ListSecretsResponse

public static interface ListSecretsResponse.Builder extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<ListSecretsResponse.Builder,ListSecretsResponse>
  • Method Details

    • secretList

      A list of the secrets in the account.

      Parameters:
      secretList - A list of the secrets in the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretList

      ListSecretsResponse.Builder secretList(SecretListEntry... secretList)

      A list of the secrets in the account.

      Parameters:
      secretList - A list of the secrets in the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretList

      A list of the secrets in the account.

      This is a convenience method that creates an instance of the SecretListEntry.Builder avoiding the need to create one manually via SecretListEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to secretList(List<SecretListEntry>).

      Parameters:
      secretList - a consumer that will call methods on SecretListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListSecretsResponse.Builder nextToken(String nextToken)

      Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call ListSecrets again with this value.

      Parameters:
      nextToken - Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call ListSecrets again with this value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.