Interface ListSecretVersionIdsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSecretVersionIdsResponse.Builder,,ListSecretVersionIdsResponse> SdkBuilder<ListSecretVersionIdsResponse.Builder,,ListSecretVersionIdsResponse> SdkPojo,SdkResponse.Builder,SecretsManagerResponse.Builder
- Enclosing class:
ListSecretVersionIdsResponse
public static interface ListSecretVersionIdsResponse.Builder
extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<ListSecretVersionIdsResponse.Builder,ListSecretVersionIdsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the secret.The name of the secret.Secrets Manager includes this value if there's more output available than what is included in the current response.versions(Collection<SecretVersionsListEntry> versions) A list of the versions of the secret.versions(Consumer<SecretVersionsListEntry.Builder>... versions) A list of the versions of the secret.versions(SecretVersionsListEntry... versions) A list of the versions of the secret.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
versions
A list of the versions of the secret.
- Parameters:
versions- A list of the versions of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
A list of the versions of the secret.
- Parameters:
versions- A list of the versions of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListSecretVersionIdsResponse.Builder versions(Consumer<SecretVersionsListEntry.Builder>... versions) A list of the versions of the secret.
This is a convenience method that creates an instance of theSecretVersionsListEntry.Builderavoiding the need to create one manually viaSecretVersionsListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversions(List<SecretVersionsListEntry>).- Parameters:
versions- a consumer that will call methods onSecretVersionsListEntry.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
ListSecretVersionIdsagain 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, callListSecretVersionIdsagain with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the secret.
- Parameters:
arn- The ARN of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the secret.
- Parameters:
name- The name of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-