public static interface DescribeHostKeyResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeHostKeyResponse.Builder,DescribeHostKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeHostKeyResponse.Builder |
hostKey(Consumer<DescribedHostKey.Builder> hostKey)
Returns the details for the specified host key.
|
DescribeHostKeyResponse.Builder |
hostKey(DescribedHostKey hostKey)
Returns the details for the specified host key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeHostKeyResponse.Builder hostKey(DescribedHostKey hostKey)
Returns the details for the specified host key.
hostKey - Returns the details for the specified host key.default DescribeHostKeyResponse.Builder hostKey(Consumer<DescribedHostKey.Builder> hostKey)
Returns the details for the specified host key.
This is a convenience method that creates an instance of theDescribedHostKey.Builder avoiding the
need to create one manually via DescribedHostKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to hostKey(DescribedHostKey).
hostKey - a consumer that will call methods on DescribedHostKey.BuilderhostKey(DescribedHostKey)Copyright © 2023. All rights reserved.