public class InstanceAccess extends Object implements Serializable, Cloneable
Information required to remotely connect to a fleet instance. Access is requested by calling GetInstanceAccess.
Constructor and Description |
---|
InstanceAccess() |
Modifier and Type | Method and Description |
---|---|
InstanceAccess |
clone() |
boolean |
equals(Object obj) |
InstanceCredentials |
getCredentials()
Credentials required to access the instance.
|
String |
getFleetId()
Unique identifier for the fleet containing the instance being accessed.
|
String |
getInstanceId()
Unique identifier for the instance being accessed.
|
String |
getIpAddress()
IP address assigned to the instance.
|
String |
getOperatingSystem()
Operating system that is running on the instance.
|
int |
hashCode() |
void |
setCredentials(InstanceCredentials credentials)
Credentials required to access the instance.
|
void |
setFleetId(String fleetId)
Unique identifier for the fleet containing the instance being accessed.
|
void |
setInstanceId(String instanceId)
Unique identifier for the instance being accessed.
|
void |
setIpAddress(String ipAddress)
IP address assigned to the instance.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
|
void |
setOperatingSystem(String operatingSystem)
Operating system that is running on the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceAccess |
withCredentials(InstanceCredentials credentials)
Credentials required to access the instance.
|
InstanceAccess |
withFleetId(String fleetId)
Unique identifier for the fleet containing the instance being accessed.
|
InstanceAccess |
withInstanceId(String instanceId)
Unique identifier for the instance being accessed.
|
InstanceAccess |
withIpAddress(String ipAddress)
IP address assigned to the instance.
|
InstanceAccess |
withOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
|
InstanceAccess |
withOperatingSystem(String operatingSystem)
Operating system that is running on the instance.
|
public void setFleetId(String fleetId)
Unique identifier for the fleet containing the instance being accessed.
fleetId
- Unique identifier for the fleet containing the instance being accessed.public String getFleetId()
Unique identifier for the fleet containing the instance being accessed.
public InstanceAccess withFleetId(String fleetId)
Unique identifier for the fleet containing the instance being accessed.
fleetId
- Unique identifier for the fleet containing the instance being accessed.public void setInstanceId(String instanceId)
Unique identifier for the instance being accessed.
instanceId
- Unique identifier for the instance being accessed.public String getInstanceId()
Unique identifier for the instance being accessed.
public InstanceAccess withInstanceId(String instanceId)
Unique identifier for the instance being accessed.
instanceId
- Unique identifier for the instance being accessed.public void setIpAddress(String ipAddress)
IP address assigned to the instance.
ipAddress
- IP address assigned to the instance.public String getIpAddress()
IP address assigned to the instance.
public InstanceAccess withIpAddress(String ipAddress)
IP address assigned to the instance.
ipAddress
- IP address assigned to the instance.public void setOperatingSystem(String operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
public String getOperatingSystem()
Operating system that is running on the instance.
OperatingSystem
public InstanceAccess withOperatingSystem(String operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
public InstanceAccess withOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
public void setCredentials(InstanceCredentials credentials)
Credentials required to access the instance.
credentials
- Credentials required to access the instance.public InstanceCredentials getCredentials()
Credentials required to access the instance.
public InstanceAccess withCredentials(InstanceCredentials credentials)
Credentials required to access the instance.
credentials
- Credentials required to access the instance.public String toString()
toString
in class Object
Object.toString()
public InstanceAccess clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.