public class InstanceInformation extends Object implements Serializable, Cloneable
Describes a filter for a specific list of instances.
Constructor and Description |
---|
InstanceInformation() |
Modifier and Type | Method and Description |
---|---|
InstanceInformation |
clone() |
boolean |
equals(Object obj) |
String |
getActivationId()
The activation ID created by SSM when the server or VM was registered.
|
String |
getAgentVersion()
The version of the SSM agent running on your instance.
|
String |
getComputerName()
The fully qualified host name of the managed instance.
|
String |
getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to EC2
instances or managed instances.
|
String |
getInstanceId()
The instance ID.
|
String |
getIPAddress()
The IP address of the managed instance.
|
Boolean |
getIsLatestVersion()
Indicates whether latest version of the SSM agent is running on your
instance.
|
Date |
getLastPingDateTime()
The date and time when agent last pinged SSM service.
|
String |
getName()
The name of the managed instance.
|
String |
getPingStatus()
Connection status of the SSM agent.
|
String |
getPlatformName()
The name of the operating system platform running on your instance.
|
String |
getPlatformType()
The operating system platform type.
|
String |
getPlatformVersion()
The version of the OS platform running on your instance.
|
Date |
getRegistrationDate()
The date the server or VM was registered with AWS as a managed instance.
|
String |
getResourceType()
The type of instance.
|
int |
hashCode() |
Boolean |
isLatestVersion()
Indicates whether latest version of the SSM agent is running on your
instance.
|
void |
setActivationId(String activationId)
The activation ID created by SSM when the server or VM was registered.
|
void |
setAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
|
void |
setComputerName(String computerName)
The fully qualified host name of the managed instance.
|
void |
setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2
instances or managed instances.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setIPAddress(String iPAddress)
The IP address of the managed instance.
|
void |
setIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your
instance.
|
void |
setLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
|
void |
setName(String name)
The name of the managed instance.
|
void |
setPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
|
void |
setPingStatus(String pingStatus)
Connection status of the SSM agent.
|
void |
setPlatformName(String platformName)
The name of the operating system platform running on your instance.
|
void |
setPlatformType(PlatformType platformType)
The operating system platform type.
|
void |
setPlatformType(String platformType)
The operating system platform type.
|
void |
setPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
|
void |
setRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
void |
setResourceType(ResourceType resourceType)
The type of instance.
|
void |
setResourceType(String resourceType)
The type of instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceInformation |
withActivationId(String activationId)
The activation ID created by SSM when the server or VM was registered.
|
InstanceInformation |
withAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
|
InstanceInformation |
withComputerName(String computerName)
The fully qualified host name of the managed instance.
|
InstanceInformation |
withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2
instances or managed instances.
|
InstanceInformation |
withInstanceId(String instanceId)
The instance ID.
|
InstanceInformation |
withIPAddress(String iPAddress)
The IP address of the managed instance.
|
InstanceInformation |
withIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your
instance.
|
InstanceInformation |
withLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
|
InstanceInformation |
withName(String name)
The name of the managed instance.
|
InstanceInformation |
withPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
|
InstanceInformation |
withPingStatus(String pingStatus)
Connection status of the SSM agent.
|
InstanceInformation |
withPlatformName(String platformName)
The name of the operating system platform running on your instance.
|
InstanceInformation |
withPlatformType(PlatformType platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformType(String platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
|
InstanceInformation |
withRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
InstanceInformation |
withResourceType(ResourceType resourceType)
The type of instance.
|
InstanceInformation |
withResourceType(String resourceType)
The type of instance.
|
public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public InstanceInformation withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setPingStatus(String pingStatus)
Connection status of the SSM agent.
pingStatus
- Connection status of the SSM agent.PingStatus
public String getPingStatus()
Connection status of the SSM agent.
PingStatus
public InstanceInformation withPingStatus(String pingStatus)
Connection status of the SSM agent.
pingStatus
- Connection status of the SSM agent.PingStatus
public void setPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
pingStatus
- Connection status of the SSM agent.PingStatus
public InstanceInformation withPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
pingStatus
- Connection status of the SSM agent.PingStatus
public void setLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
lastPingDateTime
- The date and time when agent last pinged SSM service.public Date getLastPingDateTime()
The date and time when agent last pinged SSM service.
public InstanceInformation withLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
lastPingDateTime
- The date and time when agent last pinged SSM service.public void setAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
agentVersion
- The version of the SSM agent running on your instance.public String getAgentVersion()
The version of the SSM agent running on your instance.
public InstanceInformation withAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
agentVersion
- The version of the SSM agent running on your instance.public void setIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your instance.
isLatestVersion
- Indicates whether latest version of the SSM agent is running on
your instance.public Boolean getIsLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
public InstanceInformation withIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your instance.
isLatestVersion
- Indicates whether latest version of the SSM agent is running on
your instance.public Boolean isLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
public void setPlatformType(String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public String getPlatformType()
The operating system platform type.
PlatformType
public InstanceInformation withPlatformType(String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public void setPlatformType(PlatformType platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public InstanceInformation withPlatformType(PlatformType platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public void setPlatformName(String platformName)
The name of the operating system platform running on your instance.
platformName
- The name of the operating system platform running on your
instance.public String getPlatformName()
The name of the operating system platform running on your instance.
public InstanceInformation withPlatformName(String platformName)
The name of the operating system platform running on your instance.
platformName
- The name of the operating system platform running on your
instance.public void setPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public String getPlatformVersion()
The version of the OS platform running on your instance.
public InstanceInformation withPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public void setActivationId(String activationId)
The activation ID created by SSM when the server or VM was registered.
activationId
- The activation ID created by SSM when the server or VM was
registered.public String getActivationId()
The activation ID created by SSM when the server or VM was registered.
public InstanceInformation withActivationId(String activationId)
The activation ID created by SSM when the server or VM was registered.
activationId
- The activation ID created by SSM when the server or VM was
registered.public void setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to
EC2 instances or managed instances.public String getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
public InstanceInformation withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to
EC2 instances or managed instances.public void setRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
registrationDate
- The date the server or VM was registered with AWS as a managed
instance.public Date getRegistrationDate()
The date the server or VM was registered with AWS as a managed instance.
public InstanceInformation withRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
registrationDate
- The date the server or VM was registered with AWS as a managed
instance.public void setResourceType(String resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or
managed instances.ResourceType
public String getResourceType()
The type of instance. Instances are either EC2 instances or managed instances.
ResourceType
public InstanceInformation withResourceType(String resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or
managed instances.ResourceType
public void setResourceType(ResourceType resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or
managed instances.ResourceType
public InstanceInformation withResourceType(ResourceType resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or
managed instances.ResourceType
public void setName(String name)
The name of the managed instance.
name
- The name of the managed instance.public String getName()
The name of the managed instance.
public InstanceInformation withName(String name)
The name of the managed instance.
name
- The name of the managed instance.public void setIPAddress(String iPAddress)
The IP address of the managed instance.
iPAddress
- The IP address of the managed instance.public String getIPAddress()
The IP address of the managed instance.
public InstanceInformation withIPAddress(String iPAddress)
The IP address of the managed instance.
iPAddress
- The IP address of the managed instance.public void setComputerName(String computerName)
The fully qualified host name of the managed instance.
computerName
- The fully qualified host name of the managed instance.public String getComputerName()
The fully qualified host name of the managed instance.
public InstanceInformation withComputerName(String computerName)
The fully qualified host name of the managed instance.
computerName
- The fully qualified host name of the managed instance.public String toString()
toString
in class Object
Object.toString()
public InstanceInformation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.