Interface PublicKeyList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PublicKeyList.Builder,PublicKeyList>,SdkBuilder<PublicKeyList.Builder,PublicKeyList>,SdkPojo
- Enclosing class:
- PublicKeyList
@Mutable @NotThreadSafe 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.Builderitems(Collection<PublicKeySummary> items)A list of public keys.PublicKeyList.Builderitems(Consumer<PublicKeySummary.Builder>... items)A list of public keys.PublicKeyList.Builderitems(PublicKeySummary... items)A list of public keys.PublicKeyList.BuildermaxItems(Integer maxItems)The maximum number of public keys you want in the response.PublicKeyList.BuildernextMarker(String nextMarker)If there are more elements to be listed, this element is present and contains the value that you can use for theMarkerrequest parameter to continue listing your public keys where you left off.PublicKeyList.Builderquantity(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, sdkFieldNameToField, 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
Markerrequest 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 theMarkerrequest 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.Builderavoiding the need to create one manually viaPublicKeySummary.builder().When the
Consumercompletes,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)
-
-