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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSshPublicKeyResponse.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.Builder
sshPublicKey(SSHPublicKey)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.