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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeHostKeyResponse.BuilderhostKey(Consumer<DescribedHostKey.Builder> hostKey)Returns the details for the specified host key.DescribeHostKeyResponse.BuilderhostKey(DescribedHostKey hostKey)Returns the details for the specified host key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
hostKey
DescribeHostKeyResponse.Builder hostKey(DescribedHostKey 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
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.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:
hostKey(DescribedHostKey)
-
-