@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceInformation extends Object implements Serializable, Cloneable, StructuredPojo
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 Systems Manager when the server or VM was registered.
|
String |
getAgentVersion()
The version of SSM Agent running on your Linux instance.
|
InstanceAggregatedAssociationOverview |
getAssociationOverview()
Information about the association.
|
String |
getAssociationStatus()
The status of the association.
|
String |
getComputerName()
The fully qualified host name of the managed instance.
|
String |
getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance.
|
String |
getInstanceId()
The instance ID.
|
String |
getIPAddress()
The IP address of the managed instance.
|
Boolean |
getIsLatestVersion()
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.
|
Date |
getLastAssociationExecutionDate()
The date the association was last run.
|
Date |
getLastPingDateTime()
The date and time when the agent last pinged the Systems Manager service.
|
Date |
getLastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
|
String |
getName()
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance.
|
String |
getPingStatus()
Connection status of 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 the latest version of SSM Agent is running on your Linux Managed Instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
|
void |
setAgentVersion(String agentVersion)
The version of SSM Agent running on your Linux instance.
|
void |
setAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
void |
setAssociationStatus(String associationStatus)
The status of the association.
|
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 the on-premises Systems Manager managed
instance.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setIPAddress(String iPAddress)
The IP address of the managed instance.
|
void |
setIsLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.
|
void |
setLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
|
void |
setLastPingDateTime(Date lastPingDateTime)
The date and time when the agent last pinged the Systems Manager service.
|
void |
setLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
void |
setName(String name)
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance.
|
void |
setPingStatus(PingStatus pingStatus)
Connection status of SSM Agent.
|
void |
setPingStatus(String pingStatus)
Connection status of 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.
|
InstanceInformation |
withActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
|
InstanceInformation |
withAgentVersion(String agentVersion)
The version of SSM Agent running on your Linux instance.
|
InstanceInformation |
withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
InstanceInformation |
withAssociationStatus(String associationStatus)
The status of the association.
|
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 the on-premises Systems Manager managed
instance.
|
InstanceInformation |
withInstanceId(String instanceId)
The instance ID.
|
InstanceInformation |
withIPAddress(String iPAddress)
The IP address of the managed instance.
|
InstanceInformation |
withIsLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.
|
InstanceInformation |
withLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
|
InstanceInformation |
withLastPingDateTime(Date lastPingDateTime)
The date and time when the agent last pinged the Systems Manager service.
|
InstanceInformation |
withLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
InstanceInformation |
withName(String name)
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance.
|
InstanceInformation |
withPingStatus(PingStatus pingStatus)
Connection status of SSM Agent.
|
InstanceInformation |
withPingStatus(String pingStatus)
Connection status of 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 SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
pingStatus
- Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public String getPingStatus()
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public InstanceInformation withPingStatus(String pingStatus)
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
pingStatus
- Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public void setPingStatus(PingStatus pingStatus)
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
pingStatus
- Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public InstanceInformation withPingStatus(PingStatus pingStatus)
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
pingStatus
- Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public void setLastPingDateTime(Date lastPingDateTime)
The date and time when the agent last pinged the Systems Manager service.
lastPingDateTime
- The date and time when the agent last pinged the Systems Manager service.public Date getLastPingDateTime()
The date and time when the agent last pinged the Systems Manager service.
public InstanceInformation withLastPingDateTime(Date lastPingDateTime)
The date and time when the agent last pinged the Systems Manager service.
lastPingDateTime
- The date and time when the agent last pinged the Systems Manager service.public void setAgentVersion(String agentVersion)
The version of SSM Agent running on your Linux instance.
agentVersion
- The version of SSM Agent running on your Linux instance.public String getAgentVersion()
The version of SSM Agent running on your Linux instance.
public InstanceInformation withAgentVersion(String agentVersion)
The version of SSM Agent running on your Linux instance.
agentVersion
- The version of SSM Agent running on your Linux instance.public void setIsLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field does not indicate whether or not the latest version is installed on Windows managed instances, because some older versions of Windows Server use the EC2Config service to process SSM requests.
isLatestVersion
- Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field
does not indicate whether or not the latest version is installed on Windows managed instances, because
some older versions of Windows Server use the EC2Config service to process SSM requests.public Boolean getIsLatestVersion()
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field does not indicate whether or not the latest version is installed on Windows managed instances, because some older versions of Windows Server use the EC2Config service to process SSM requests.
public InstanceInformation withIsLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field does not indicate whether or not the latest version is installed on Windows managed instances, because some older versions of Windows Server use the EC2Config service to process SSM requests.
isLatestVersion
- Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field
does not indicate whether or not the latest version is installed on Windows managed instances, because
some older versions of Windows Server use the EC2Config service to process SSM requests.public Boolean isLatestVersion()
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field does not indicate whether or not the latest version is installed on Windows managed instances, because some older versions of Windows Server use the EC2Config service to process SSM requests.
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 Systems Manager when the server or VM was registered.
activationId
- The activation ID created by Systems Manager when the server or VM was registered.public String getActivationId()
The activation ID created by Systems Manager when the server or VM was registered.
public InstanceInformation withActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
activationId
- The activation ID created by Systems Manager when the server or VM was registered.public void setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2 instance,
use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2
instance, use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.public String getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2 instance,
use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.public InstanceInformation withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2 instance,
use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2
instance, use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.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 assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance. The name is specified as the DefaultInstanceName
property using the
CreateActivation command. It is applied to the managed instance by specifying the Activation Code and
Activation ID when you install SSM Agent on the instance, as explained in Install SSM
Agent for a hybrid environment (Linux) and Install SSM
Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2
DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
name
- The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems
Manager managed instance. The name is specified as the DefaultInstanceName
property using the
CreateActivation command. It is applied to the managed instance by specifying the Activation Code
and Activation ID when you install SSM Agent on the instance, as explained in Install SSM Agent for a hybrid environment (Linux) and Install
SSM Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the
Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.public String getName()
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance. The name is specified as the DefaultInstanceName
property using the
CreateActivation command. It is applied to the managed instance by specifying the Activation Code and
Activation ID when you install SSM Agent on the instance, as explained in Install SSM
Agent for a hybrid environment (Linux) and Install SSM
Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2
DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
DefaultInstanceName
property using
the CreateActivation command. It is applied to the managed instance by specifying the Activation
Code and Activation ID when you install SSM Agent on the instance, as explained in Install SSM Agent for a hybrid environment (Linux) and Install SSM Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance,
use the Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.public InstanceInformation withName(String name)
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager
managed instance. The name is specified as the DefaultInstanceName
property using the
CreateActivation command. It is applied to the managed instance by specifying the Activation Code and
Activation ID when you install SSM Agent on the instance, as explained in Install SSM
Agent for a hybrid environment (Linux) and Install SSM
Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2
DescribeInstances
action. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the
AWS CLI Command Reference.
name
- The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems
Manager managed instance. The name is specified as the DefaultInstanceName
property using the
CreateActivation command. It is applied to the managed instance by specifying the Activation Code
and Activation ID when you install SSM Agent on the instance, as explained in Install SSM Agent for a hybrid environment (Linux) and Install
SSM Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the
Amazon EC2 DescribeInstances
action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances
in the AWS CLI Command Reference.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 void setAssociationStatus(String associationStatus)
The status of the association.
associationStatus
- The status of the association.public String getAssociationStatus()
The status of the association.
public InstanceInformation withAssociationStatus(String associationStatus)
The status of the association.
associationStatus
- The status of the association.public void setLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
lastAssociationExecutionDate
- The date the association was last run.public Date getLastAssociationExecutionDate()
The date the association was last run.
public InstanceInformation withLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
lastAssociationExecutionDate
- The date the association was last run.public void setLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.public Date getLastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
public InstanceInformation withLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.public void setAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview
- Information about the association.public InstanceAggregatedAssociationOverview getAssociationOverview()
Information about the association.
public InstanceInformation withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview
- Information about the association.public String toString()
toString
in class Object
Object.toString()
public InstanceInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.