public static interface ListSecretVersionIdsResponse.Builder extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<ListSecretVersionIdsResponse.Builder,ListSecretVersionIdsResponse>
Modifier and Type | Method and Description |
---|---|
ListSecretVersionIdsResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the secret.
|
ListSecretVersionIdsResponse.Builder |
name(String name)
The friendly name of the secret.
|
ListSecretVersionIdsResponse.Builder |
nextToken(String nextToken)
If present in the response, this value indicates that there's more output available than included in the
current response.
|
ListSecretVersionIdsResponse.Builder |
versions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
|
ListSecretVersionIdsResponse.Builder |
versions(Consumer<SecretVersionsListEntry.Builder>... versions)
The list of the currently available versions of the specified secret.
|
ListSecretVersionIdsResponse.Builder |
versions(SecretVersionsListEntry... versions)
The list of the currently available versions of the specified secret.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListSecretVersionIdsResponse.Builder versions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
versions
- The list of the currently available versions of the specified secret.ListSecretVersionIdsResponse.Builder versions(SecretVersionsListEntry... versions)
The list of the currently available versions of the specified secret.
versions
- The list of the currently available versions of the specified secret.ListSecretVersionIdsResponse.Builder versions(Consumer<SecretVersionsListEntry.Builder>... versions)
The list of the currently available versions of the specified secret.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #versions(List)
.versions
- a consumer that will call methods on List.Builder
#versions(List)
ListSecretVersionIdsResponse.Builder nextToken(String nextToken)
If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in a
subsequent call to the operation to continue processing and get the next part of the output. You should
repeat this until the NextToken
response element comes back empty (as null
).
nextToken
- If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request
parameter in a subsequent call to the operation to continue processing and get the next part of the
output. You should repeat this until the NextToken
response element comes back empty (as
null
).ListSecretVersionIdsResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the secret.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
arn
- The Amazon Resource Name (ARN) for the secret. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
ListSecretVersionIdsResponse.Builder name(String name)
The friendly name of the secret.
name
- The friendly name of the secret.Copyright © 2021. All rights reserved.