Interface PublicKeyList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PublicKeyList.Builder,
,PublicKeyList> SdkBuilder<PublicKeyList.Builder,
,PublicKeyList> SdkPojo
- Enclosing class:
PublicKeyList
public static interface PublicKeyList.Builder
extends SdkPojo, CopyableBuilder<PublicKeyList.Builder,PublicKeyList>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<PublicKeySummary> items) A list of public keys.items
(Consumer<PublicKeySummary.Builder>... items) A list of public keys.items
(PublicKeySummary... items) A list of public keys.The maximum number of public keys you want in the response.nextMarker
(String nextMarker) If there are more elements to be listed, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your public keys where you left off.The number of public keys in the list.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
-
Method Details
-
nextMarker
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker
request parameter to continue listing your public keys where you left off.- Parameters:
nextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your public keys where you left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The maximum number of public keys you want in the response.
- Parameters:
maxItems
- The maximum number of public keys you want in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The number of public keys in the list.
- Parameters:
quantity
- The number of public keys in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of public keys.
- Parameters:
items
- A list of public keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of public keys.
- Parameters:
items
- A list of public keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of public keys.
This is a convenience method that creates an instance of thePublicKeySummary.Builder
avoiding the need to create one manually viaPublicKeySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<PublicKeySummary>)
.- Parameters:
items
- a consumer that will call methods onPublicKeySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-