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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKeyList.Builder
items(Collection<PublicKeySummary> items)
A list of public keys.PublicKeyList.Builder
items(Consumer<PublicKeySummary.Builder>... items)
A list of public keys.PublicKeyList.Builder
items(PublicKeySummary... items)
A list of public keys.PublicKeyList.Builder
maxItems(Integer maxItems)
The maximum number of public keys you want in the response.PublicKeyList.Builder
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.PublicKeyList.Builder
quantity(Integer quantity)
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 Detail
-
nextMarker
PublicKeyList.Builder nextMarker(String 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
PublicKeyList.Builder maxItems(Integer 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
PublicKeyList.Builder quantity(Integer 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
PublicKeyList.Builder items(Collection<PublicKeySummary> 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
PublicKeyList.Builder items(PublicKeySummary... 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
PublicKeyList.Builder items(Consumer<PublicKeySummary.Builder>... 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 to#items(List
.) - 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:
#items(java.util.Collection
)
-
-