Interface ListAliasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAliasesResponse.Builder,,ListAliasesResponse> KmsResponse.Builder,SdkBuilder<ListAliasesResponse.Builder,,ListAliasesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAliasesResponse
@Mutable
@NotThreadSafe
public static interface ListAliasesResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListAliasesResponse.Builder,ListAliasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaliases(Collection<AliasListEntry> aliases) A list of aliases.aliases(Consumer<AliasListEntry.Builder>... aliases) A list of aliases.aliases(AliasListEntry... aliases) A list of aliases.nextMarker(String nextMarker) WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.A flag that indicates whether there are more items in the list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aliases
A list of aliases.
- Parameters:
aliases- A list of aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
A list of aliases.
- Parameters:
aliases- A list of aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
A list of aliases.
This is a convenience method that creates an instance of theAliasListEntry.Builderavoiding the need to create one manually viaAliasListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaliases(List<AliasListEntry>).- Parameters:
aliases- a consumer that will call methods onAliasListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
When
Truncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.- Parameters:
nextMarker- WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truncated
A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the
NextMarkerelement in this response to theMarkerparameter in a subsequent request.- Parameters:
truncated- A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of theNextMarkerelement in this response to theMarkerparameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-