public static interface GetKeyPairsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetKeyPairsResponse.Builder,GetKeyPairsResponse>
Modifier and Type | Method and Description |
---|---|
GetKeyPairsResponse.Builder |
keyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
|
GetKeyPairsResponse.Builder |
keyPairs(Consumer<KeyPair.Builder>... keyPairs)
An array of key-value pairs containing information about the key pairs.
|
GetKeyPairsResponse.Builder |
keyPairs(KeyPair... keyPairs)
An array of key-value pairs containing information about the key pairs.
|
GetKeyPairsResponse.Builder |
nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetKeyPairsResponse.Builder keyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
keyPairs
- An array of key-value pairs containing information about the key pairs.GetKeyPairsResponse.Builder keyPairs(KeyPair... keyPairs)
An array of key-value pairs containing information about the key pairs.
keyPairs
- An array of key-value pairs containing information about the key pairs.GetKeyPairsResponse.Builder keyPairs(Consumer<KeyPair.Builder>... keyPairs)
An array of key-value pairs containing information about the key pairs.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #keyPairs(List)
.keyPairs
- a consumer that will call methods on List.Builder
#keyPairs(List)
GetKeyPairsResponse.Builder nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
nextPageToken
- A token used for advancing to the next page of results from your get key pairs request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.