@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceAccess extends Object implements Serializable, Cloneable, StructuredPojo
Information and credentials that you can use to remotely connect to an instance in an EC2 managed fleet. This data type is returned in response to a call to GetInstanceAccess.
Constructor and Description |
---|
InstanceAccess() |
Modifier and Type | Method and Description |
---|---|
InstanceAccess |
clone() |
boolean |
equals(Object obj) |
InstanceCredentials |
getCredentials()
Security credentials that are required to access the instance.
|
String |
getFleetId()
A unique identifier for the fleet containing the instance to be accessed.
|
String |
getInstanceId()
A unique identifier for the instance to be accessed.
|
String |
getIpAddress()
IP address assigned to the instance.
|
String |
getOperatingSystem()
Operating system that is running on the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredentials(InstanceCredentials credentials)
Security credentials that are required to access the instance.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet containing the instance to be accessed.
|
void |
setInstanceId(String instanceId)
A unique identifier for the instance to be 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.
|
InstanceAccess |
withCredentials(InstanceCredentials credentials)
Security credentials that are required to access the instance.
|
InstanceAccess |
withFleetId(String fleetId)
A unique identifier for the fleet containing the instance to be accessed.
|
InstanceAccess |
withInstanceId(String instanceId)
A unique identifier for the instance to be 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)
A unique identifier for the fleet containing the instance to be accessed.
fleetId
- A unique identifier for the fleet containing the instance to be accessed.public String getFleetId()
A unique identifier for the fleet containing the instance to be accessed.
public InstanceAccess withFleetId(String fleetId)
A unique identifier for the fleet containing the instance to be accessed.
fleetId
- A unique identifier for the fleet containing the instance to be accessed.public void setInstanceId(String instanceId)
A unique identifier for the instance to be accessed.
instanceId
- A unique identifier for the instance to be accessed.public String getInstanceId()
A unique identifier for the instance to be accessed.
public InstanceAccess withInstanceId(String instanceId)
A unique identifier for the instance to be accessed.
instanceId
- A unique identifier for the instance to be 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)
Security credentials that are required to access the instance.
credentials
- Security credentials that are required to access the instance.public InstanceCredentials getCredentials()
Security credentials that are required to access the instance.
public InstanceAccess withCredentials(InstanceCredentials credentials)
Security credentials that are required to access the instance.
credentials
- Security credentials that are required to access the instance.public String toString()
toString
in class Object
Object.toString()
public InstanceAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.