public static interface SendSshPublicKeyRequest.Builder extends Ec2InstanceConnectRequest.Builder, SdkPojo, CopyableBuilder<SendSshPublicKeyRequest.Builder,SendSshPublicKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
SendSshPublicKeyRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which the EC2 instance was launched.
|
SendSshPublicKeyRequest.Builder |
instanceId(String instanceId)
The ID of the EC2 instance.
|
SendSshPublicKeyRequest.Builder |
instanceOSUser(String instanceOSUser)
The OS user on the EC2 instance for whom the key can be used to authenticate.
|
SendSshPublicKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SendSshPublicKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SendSshPublicKeyRequest.Builder |
sshPublicKey(String sshPublicKey)
The public key material.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendSshPublicKeyRequest.Builder instanceId(String instanceId)
The ID of the EC2 instance.
instanceId - The ID of the EC2 instance.SendSshPublicKeyRequest.Builder instanceOSUser(String instanceOSUser)
The OS user on the EC2 instance for whom the key can be used to authenticate.
instanceOSUser - The OS user on the EC2 instance for whom the key can be used to authenticate.SendSshPublicKeyRequest.Builder sshPublicKey(String sshPublicKey)
The public key material. To use the public key, you must have the matching private key.
sshPublicKey - The public key material. To use the public key, you must have the matching private key.SendSshPublicKeyRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone in which the EC2 instance was launched.
availabilityZone - The Availability Zone in which the EC2 instance was launched.SendSshPublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSendSshPublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.