CopyableBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
, SdkBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
public static interface InstanceAccessDetails.Builder extends CopyableBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
Modifier and Type | Method | Description |
---|---|---|
InstanceAccessDetails.Builder |
certKey(String certKey) |
For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line
SSH), you should save this value to
tempkey-cert.pub . |
InstanceAccessDetails.Builder |
expiresAt(Date expiresAt) |
For SSH access, the date on which the temporary keys expire.
|
InstanceAccessDetails.Builder |
instanceName(String instanceName) |
The name of this Amazon Lightsail instance.
|
InstanceAccessDetails.Builder |
ipAddress(String ipAddress) |
The public IP address of the Amazon Lightsail instance.
|
InstanceAccessDetails.Builder |
password(String password) |
For RDP access, the temporary password of the Amazon EC2 instance.
|
InstanceAccessDetails.Builder |
privateKey(String privateKey) |
For SSH access, the temporary private key.
|
InstanceAccessDetails.Builder |
protocol(String protocol) |
The protocol for these Amazon Lightsail instance access details.
|
InstanceAccessDetails.Builder |
protocol(InstanceAccessProtocol protocol) |
The protocol for these Amazon Lightsail instance access details.
|
InstanceAccessDetails.Builder |
username(String username) |
The user name to use when logging in to the Amazon Lightsail instance.
|
copy
apply, build
InstanceAccessDetails.Builder certKey(String certKey)
For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line
SSH), you should save this value to tempkey-cert.pub
.
certKey
- For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command
line SSH), you should save this value to tempkey-cert.pub
.InstanceAccessDetails.Builder expiresAt(Date expiresAt)
For SSH access, the date on which the temporary keys expire.
expiresAt
- For SSH access, the date on which the temporary keys expire.InstanceAccessDetails.Builder ipAddress(String ipAddress)
The public IP address of the Amazon Lightsail instance.
ipAddress
- The public IP address of the Amazon Lightsail instance.InstanceAccessDetails.Builder password(String password)
For RDP access, the temporary password of the Amazon EC2 instance.
password
- For RDP access, the temporary password of the Amazon EC2 instance.InstanceAccessDetails.Builder privateKey(String privateKey)
For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this
value to tempkey
).
privateKey
- For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should
save this value to tempkey
).InstanceAccessDetails.Builder protocol(String protocol)
The protocol for these Amazon Lightsail instance access details.
protocol
- The protocol for these Amazon Lightsail instance access details.InstanceAccessProtocol
InstanceAccessDetails.Builder protocol(InstanceAccessProtocol protocol)
The protocol for these Amazon Lightsail instance access details.
protocol
- The protocol for these Amazon Lightsail instance access details.InstanceAccessProtocol
InstanceAccessDetails.Builder instanceName(String instanceName)
The name of this Amazon Lightsail instance.
instanceName
- The name of this Amazon Lightsail instance.InstanceAccessDetails.Builder username(String username)
The user name to use when logging in to the Amazon Lightsail instance.
username
- The user name to use when logging in to the Amazon Lightsail instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.