Interface DescribeHostKeyResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeHostKeyResponse.Builder,,DescribeHostKeyResponse> SdkBuilder<DescribeHostKeyResponse.Builder,,DescribeHostKeyResponse> SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
 DescribeHostKeyResponse
public static interface DescribeHostKeyResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeHostKeyResponse.Builder,DescribeHostKeyResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeHostKeyResponse.BuilderhostKey(Consumer<DescribedHostKey.Builder> hostKey) Returns the details for the specified host key.hostKey(DescribedHostKey hostKey) Returns the details for the specified host key.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
- 
hostKey
Returns the details for the specified host key.
- Parameters:
 hostKey- Returns the details for the specified host key.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
hostKey
Returns the details for the specified host key.
This is a convenience method that creates an instance of theDescribedHostKey.Builderavoiding the need to create one manually viaDescribedHostKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostKey(DescribedHostKey).- Parameters:
 hostKey- a consumer that will call methods onDescribedHostKey.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -