public static interface GetSSHPublicKeyResponse.Builder extends IAMResponse.Builder, CopyableBuilder<GetSSHPublicKeyResponse.Builder,GetSSHPublicKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSSHPublicKeyResponse.Builder |
sshPublicKey(Consumer<SSHPublicKey.Builder> sshPublicKey)
A structure containing details about the SSH public key.
|
GetSSHPublicKeyResponse.Builder |
sshPublicKey(SSHPublicKey sshPublicKey)
A structure containing details about the SSH public key.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetSSHPublicKeyResponse.Builder sshPublicKey(SSHPublicKey sshPublicKey)
A structure containing details about the SSH public key.
sshPublicKey - A structure containing details about the SSH public key.default GetSSHPublicKeyResponse.Builder sshPublicKey(Consumer<SSHPublicKey.Builder> sshPublicKey)
A structure containing details about the SSH public key.
This is a convenience that creates an instance of theSSHPublicKey.Builder avoiding the need to
create one manually via SSHPublicKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sshPublicKey(SSHPublicKey).sshPublicKey - a consumer that will call methods on SSHPublicKey.BuildersshPublicKey(SSHPublicKey)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.