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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.