StructuredPojo
, ToCopyableBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
@Generated("software.amazon.awssdk:codegen") public class InstanceAccessDetails extends Object implements StructuredPojo, ToCopyableBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
The parameters for gaining temporary access to one of your Amazon Lightsail instances.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceAccessDetails.Builder |
Modifier and Type | Method | Description |
---|---|---|
static InstanceAccessDetails.Builder |
builder() |
|
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 . |
boolean |
equals(Object obj) |
|
Date |
expiresAt() |
For SSH access, the date on which the temporary keys expire.
|
int |
hashCode() |
|
String |
instanceName() |
The name of this Amazon Lightsail instance.
|
String |
ipAddress() |
The public IP address of the Amazon Lightsail instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
password() |
For RDP access, the temporary password of the Amazon EC2 instance.
|
String |
privateKey() |
For SSH access, the temporary private key.
|
String |
protocol() |
The protocol for these Amazon Lightsail instance access details.
|
static Class<? extends InstanceAccessDetails.Builder> |
serializableBuilderClass() |
|
InstanceAccessDetails.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
username() |
The user name to use when logging in to the Amazon Lightsail instance.
|
public 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
.
tempkey-cert.pub
.public Date expiresAt()
For SSH access, the date on which the temporary keys expire.
public String ipAddress()
The public IP address of the Amazon Lightsail instance.
public String password()
For RDP access, the temporary password of the Amazon EC2 instance.
public String privateKey()
For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this
value to tempkey
).
tempkey
).public String protocol()
The protocol for these Amazon Lightsail instance access details.
InstanceAccessProtocol
public String instanceName()
The name of this Amazon Lightsail instance.
public String username()
The user name to use when logging in to the Amazon Lightsail instance.
public InstanceAccessDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceAccessDetails.Builder,InstanceAccessDetails>
public static InstanceAccessDetails.Builder builder()
public static Class<? extends InstanceAccessDetails.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.