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
copy
apply, 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.