public static interface UploadSSHPublicKeyResponse.Builder extends IAMResponse.Builder, CopyableBuilder<UploadSSHPublicKeyResponse.Builder,UploadSSHPublicKeyResponse>
Modifier and Type | Method and Description |
---|---|
default UploadSSHPublicKeyResponse.Builder |
sshPublicKey(Consumer<SSHPublicKey.Builder> sshPublicKey)
Contains information about the SSH public key.
|
UploadSSHPublicKeyResponse.Builder |
sshPublicKey(SSHPublicKey sshPublicKey)
Contains information about the SSH public key.
|
build
copy
apply, build
UploadSSHPublicKeyResponse.Builder sshPublicKey(SSHPublicKey sshPublicKey)
Contains information about the SSH public key.
sshPublicKey
- Contains information about the SSH public key.default UploadSSHPublicKeyResponse.Builder sshPublicKey(Consumer<SSHPublicKey.Builder> sshPublicKey)
Contains information 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.