Interface ListHostKeysResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListHostKeysResponse.Builder,,ListHostKeysResponse> SdkBuilder<ListHostKeysResponse.Builder,,ListHostKeysResponse> SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
 ListHostKeysResponse
public static interface ListHostKeysResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListHostKeysResponse.Builder,ListHostKeysResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionhostKeys(Collection<ListedHostKey> hostKeys) Returns an array, where each item contains the details of a host key.hostKeys(Consumer<ListedHostKey.Builder>... hostKeys) Returns an array, where each item contains the details of a host key.hostKeys(ListedHostKey... hostKeys) Returns an array, where each item contains the details of a host key.Returns a token that you can use to callListHostKeysagain and receive additional results, if there are any.Returns the server identifier that contains the listed host keys.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
nextToken
Returns a token that you can use to call
ListHostKeysagain and receive additional results, if there are any.- Parameters:
 nextToken- Returns a token that you can use to callListHostKeysagain and receive additional results, if there are any.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
serverId
Returns the server identifier that contains the listed host keys.
- Parameters:
 serverId- Returns the server identifier that contains the listed host keys.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
hostKeys
Returns an array, where each item contains the details of a host key.
- Parameters:
 hostKeys- Returns an array, where each item contains the details of a host key.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
hostKeys
Returns an array, where each item contains the details of a host key.
- Parameters:
 hostKeys- Returns an array, where each item contains the details of a host key.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.Builderavoiding the need to create one manually viaListedHostKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostKeys(List<ListedHostKey>).- Parameters:
 hostKeys- a consumer that will call methods onListedHostKey.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -