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 Summary
Modifier and TypeMethodDescriptionSecrets Manager includes this value if there's more output available than what is included in the current response.secretList
(Collection<SecretListEntry> secretList) A list of the secrets in the account.secretList
(Consumer<SecretListEntry.Builder>... secretList) A list of the secrets in the account.secretList
(SecretListEntry... secretList) A list of the secrets in the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerResponse.Builder
build, responseMetadata, responseMetadata
-
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
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 theSecretListEntry.Builder
avoiding the need to create one manually viaSecretListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecretList(List<SecretListEntry>)
.- Parameters:
secretList
- a consumer that will call methods onSecretListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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, callListSecrets
again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-