public static interface ListHostKeysResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListHostKeysResponse.Builder,ListHostKeysResponse>
| Modifier and Type | Method and Description |
|---|---|
ListHostKeysResponse.Builder |
hostKeys(Collection<ListedHostKey> hostKeys)
Returns an array, where each item contains the details of a host key.
|
ListHostKeysResponse.Builder |
hostKeys(Consumer<ListedHostKey.Builder>... hostKeys)
Returns an array, where each item contains the details of a host key.
|
ListHostKeysResponse.Builder |
hostKeys(ListedHostKey... hostKeys)
Returns an array, where each item contains the details of a host key.
|
ListHostKeysResponse.Builder |
nextToken(String nextToken)
Returns a token that you can use to call
ListHostKeys again and receive additional results, if
there are any. |
ListHostKeysResponse.Builder |
serverId(String serverId)
Returns the server identifier that contains the listed host keys.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListHostKeysResponse.Builder nextToken(String nextToken)
Returns a token that you can use to call ListHostKeys again and receive additional results, if
there are any.
nextToken - Returns a token that you can use to call ListHostKeys again and receive additional
results, if there are any.ListHostKeysResponse.Builder serverId(String serverId)
Returns the server identifier that contains the listed host keys.
serverId - Returns the server identifier that contains the listed host keys.ListHostKeysResponse.Builder hostKeys(Collection<ListedHostKey> hostKeys)
Returns an array, where each item contains the details of a host key.
hostKeys - Returns an array, where each item contains the details of a host key.ListHostKeysResponse.Builder hostKeys(ListedHostKey... hostKeys)
Returns an array, where each item contains the details of a host key.
hostKeys - Returns an array, where each item contains the details of a host key.ListHostKeysResponse.Builder hostKeys(Consumer<ListedHostKey.Builder>... hostKeys)
Returns an array, where each item contains the details of a host key.
This is a convenience method that creates an instance of theListedHostKey.Builder avoiding the need to create one
manually via ListedHostKey.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #hostKeys(List.
hostKeys - a consumer that will call methods on
ListedHostKey.Builder#hostKeys(java.util.Collection) Copyright © 2023. All rights reserved.