@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceProperty extends Object implements Serializable, Cloneable, StructuredPojo
An object containing various properties of a managed node.
Constructor and Description |
---|
InstanceProperty() |
Modifier and Type | Method and Description |
---|---|
InstanceProperty |
clone() |
boolean |
equals(Object obj) |
String |
getActivationId()
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
|
String |
getAgentVersion()
The version of SSM Agent running on your managed node.
|
String |
getArchitecture()
The CPU architecture of the node.
|
InstanceAggregatedAssociationOverview |
getAssociationOverview() |
String |
getAssociationStatus()
The status of the State Manager association applied to the managed node.
|
String |
getComputerName()
The fully qualified host name of the managed node.
|
String |
getIamRole()
The IAM role used in the hybrid activation to register the node with Systems Manager.
|
String |
getInstanceId()
The ID of the managed node.
|
String |
getInstanceRole()
The instance profile attached to the node.
|
String |
getInstanceState()
The current state of the node.
|
String |
getInstanceType()
The instance type of the managed node.
|
String |
getIPAddress()
The public IPv4 address assigned to the node.
|
String |
getKeyName()
The name of the key pair associated with the node.
|
Date |
getLastAssociationExecutionDate()
The date the association was last run.
|
Date |
getLastPingDateTime()
The date and time when the SSM Agent last pinged the Systems Manager service.
|
Date |
getLastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
|
Date |
getLaunchTime()
The timestamp for when the node was launched.
|
String |
getName()
The value of the EC2
Name tag associated with the node. |
String |
getPingStatus()
Connection status of the SSM Agent on the managed node.
|
String |
getPlatformName()
The name of the operating system platform running on your managed node.
|
String |
getPlatformType()
The operating system platform type of the managed node.
|
String |
getPlatformVersion()
The version of the OS platform running on your managed node.
|
Date |
getRegistrationDate()
The date the node was registered with Systems Manager.
|
String |
getResourceType()
The type of managed node.
|
String |
getSourceId()
The ID of the source resource.
|
String |
getSourceType()
The type of the source resource.
|
int |
hashCode() |
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 virtual machine (VM) was registered
|
void |
setAgentVersion(String agentVersion)
The version of SSM Agent running on your managed node.
|
void |
setArchitecture(String architecture)
The CPU architecture of the node.
|
void |
setAssociationOverview(InstanceAggregatedAssociationOverview associationOverview) |
void |
setAssociationStatus(String associationStatus)
The status of the State Manager association applied to the managed node.
|
void |
setComputerName(String computerName)
The fully qualified host name of the managed node.
|
void |
setIamRole(String iamRole)
The IAM role used in the hybrid activation to register the node with Systems Manager.
|
void |
setInstanceId(String instanceId)
The ID of the managed node.
|
void |
setInstanceRole(String instanceRole)
The instance profile attached to the node.
|
void |
setInstanceState(String instanceState)
The current state of the node.
|
void |
setInstanceType(String instanceType)
The instance type of the managed node.
|
void |
setIPAddress(String iPAddress)
The public IPv4 address assigned to the node.
|
void |
setKeyName(String keyName)
The name of the key pair associated with the node.
|
void |
setLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
|
void |
setLastPingDateTime(Date lastPingDateTime)
The date and time when the SSM Agent last pinged the Systems Manager service.
|
void |
setLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
void |
setLaunchTime(Date launchTime)
The timestamp for when the node was launched.
|
void |
setName(String name)
The value of the EC2
Name tag associated with the node. |
void |
setPingStatus(String pingStatus)
Connection status of the SSM Agent on the managed node.
|
void |
setPlatformName(String platformName)
The name of the operating system platform running on your managed node.
|
void |
setPlatformType(String platformType)
The operating system platform type of the managed node.
|
void |
setPlatformVersion(String platformVersion)
The version of the OS platform running on your managed node.
|
void |
setRegistrationDate(Date registrationDate)
The date the node was registered with Systems Manager.
|
void |
setResourceType(String resourceType)
The type of managed node.
|
void |
setSourceId(String sourceId)
The ID of the source resource.
|
void |
setSourceType(String sourceType)
The type of the source resource.
|
String |
toString()
Returns a string representation of this object.
|
InstanceProperty |
withActivationId(String activationId)
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
|
InstanceProperty |
withAgentVersion(String agentVersion)
The version of SSM Agent running on your managed node.
|
InstanceProperty |
withArchitecture(String architecture)
The CPU architecture of the node.
|
InstanceProperty |
withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview) |
InstanceProperty |
withAssociationStatus(String associationStatus)
The status of the State Manager association applied to the managed node.
|
InstanceProperty |
withComputerName(String computerName)
The fully qualified host name of the managed node.
|
InstanceProperty |
withIamRole(String iamRole)
The IAM role used in the hybrid activation to register the node with Systems Manager.
|
InstanceProperty |
withInstanceId(String instanceId)
The ID of the managed node.
|
InstanceProperty |
withInstanceRole(String instanceRole)
The instance profile attached to the node.
|
InstanceProperty |
withInstanceState(String instanceState)
The current state of the node.
|
InstanceProperty |
withInstanceType(String instanceType)
The instance type of the managed node.
|
InstanceProperty |
withIPAddress(String iPAddress)
The public IPv4 address assigned to the node.
|
InstanceProperty |
withKeyName(String keyName)
The name of the key pair associated with the node.
|
InstanceProperty |
withLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last run.
|
InstanceProperty |
withLastPingDateTime(Date lastPingDateTime)
The date and time when the SSM Agent last pinged the Systems Manager service.
|
InstanceProperty |
withLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
InstanceProperty |
withLaunchTime(Date launchTime)
The timestamp for when the node was launched.
|
InstanceProperty |
withName(String name)
The value of the EC2
Name tag associated with the node. |
InstanceProperty |
withPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent on the managed node.
|
InstanceProperty |
withPingStatus(String pingStatus)
Connection status of the SSM Agent on the managed node.
|
InstanceProperty |
withPlatformName(String platformName)
The name of the operating system platform running on your managed node.
|
InstanceProperty |
withPlatformType(PlatformType platformType)
The operating system platform type of the managed node.
|
InstanceProperty |
withPlatformType(String platformType)
The operating system platform type of the managed node.
|
InstanceProperty |
withPlatformVersion(String platformVersion)
The version of the OS platform running on your managed node.
|
InstanceProperty |
withRegistrationDate(Date registrationDate)
The date the node was registered with Systems Manager.
|
InstanceProperty |
withResourceType(String resourceType)
The type of managed node.
|
InstanceProperty |
withSourceId(String sourceId)
The ID of the source resource.
|
InstanceProperty |
withSourceType(SourceType sourceType)
The type of the source resource.
|
InstanceProperty |
withSourceType(String sourceType)
The type of the source resource.
|
public void setName(String name)
The value of the EC2 Name
tag associated with the node. If a Name
tag hasn't been
applied to the node, this value is blank.
name
- The value of the EC2 Name
tag associated with the node. If a Name
tag hasn't
been applied to the node, this value is blank.public String getName()
The value of the EC2 Name
tag associated with the node. If a Name
tag hasn't been
applied to the node, this value is blank.
Name
tag associated with the node. If a Name
tag hasn't
been applied to the node, this value is blank.public InstanceProperty withName(String name)
The value of the EC2 Name
tag associated with the node. If a Name
tag hasn't been
applied to the node, this value is blank.
name
- The value of the EC2 Name
tag associated with the node. If a Name
tag hasn't
been applied to the node, this value is blank.public void setInstanceId(String instanceId)
The ID of the managed node.
instanceId
- The ID of the managed node.public String getInstanceId()
The ID of the managed node.
public InstanceProperty withInstanceId(String instanceId)
The ID of the managed node.
instanceId
- The ID of the managed node.public void setInstanceType(String instanceType)
The instance type of the managed node. For example, t3.large.
instanceType
- The instance type of the managed node. For example, t3.large.public String getInstanceType()
The instance type of the managed node. For example, t3.large.
public InstanceProperty withInstanceType(String instanceType)
The instance type of the managed node. For example, t3.large.
instanceType
- The instance type of the managed node. For example, t3.large.public void setInstanceRole(String instanceRole)
The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
instanceRole
- The instance profile attached to the node. If an instance profile isn't attached to the node, this value
is blank.public String getInstanceRole()
The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
public InstanceProperty withInstanceRole(String instanceRole)
The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
instanceRole
- The instance profile attached to the node. If an instance profile isn't attached to the node, this value
is blank.public void setKeyName(String keyName)
The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
keyName
- The name of the key pair associated with the node. If a key pair isnt't associated with the node, this
value is blank.public String getKeyName()
The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
public InstanceProperty withKeyName(String keyName)
The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
keyName
- The name of the key pair associated with the node. If a key pair isnt't associated with the node, this
value is blank.public void setInstanceState(String instanceState)
The current state of the node.
instanceState
- The current state of the node.public String getInstanceState()
The current state of the node.
public InstanceProperty withInstanceState(String instanceState)
The current state of the node.
instanceState
- The current state of the node.public void setArchitecture(String architecture)
The CPU architecture of the node. For example, x86_64.
architecture
- The CPU architecture of the node. For example, x86_64.public String getArchitecture()
The CPU architecture of the node. For example, x86_64.
public InstanceProperty withArchitecture(String architecture)
The CPU architecture of the node. For example, x86_64.
architecture
- The CPU architecture of the node. For example, x86_64.public void setIPAddress(String iPAddress)
The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
iPAddress
- The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this
value is blank.public String getIPAddress()
The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
public InstanceProperty withIPAddress(String iPAddress)
The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
iPAddress
- The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this
value is blank.public void setLaunchTime(Date launchTime)
The timestamp for when the node was launched.
launchTime
- The timestamp for when the node was launched.public Date getLaunchTime()
The timestamp for when the node was launched.
public InstanceProperty withLaunchTime(Date launchTime)
The timestamp for when the node was launched.
launchTime
- The timestamp for when the node was launched.public void setPingStatus(String pingStatus)
Connection status of the SSM Agent on the managed node.
pingStatus
- Connection status of the SSM Agent on the managed node.PingStatus
public String getPingStatus()
Connection status of the SSM Agent on the managed node.
PingStatus
public InstanceProperty withPingStatus(String pingStatus)
Connection status of the SSM Agent on the managed node.
pingStatus
- Connection status of the SSM Agent on the managed node.PingStatus
public InstanceProperty withPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent on the managed node.
pingStatus
- Connection status of the SSM Agent on the managed node.PingStatus
public void setLastPingDateTime(Date lastPingDateTime)
The date and time when the SSM Agent last pinged the Systems Manager service.
lastPingDateTime
- The date and time when the SSM Agent last pinged the Systems Manager service.public Date getLastPingDateTime()
The date and time when the SSM Agent last pinged the Systems Manager service.
public InstanceProperty withLastPingDateTime(Date lastPingDateTime)
The date and time when the SSM Agent last pinged the Systems Manager service.
lastPingDateTime
- The date and time when the SSM Agent last pinged the Systems Manager service.public void setAgentVersion(String agentVersion)
The version of SSM Agent running on your managed node.
agentVersion
- The version of SSM Agent running on your managed node.public String getAgentVersion()
The version of SSM Agent running on your managed node.
public InstanceProperty withAgentVersion(String agentVersion)
The version of SSM Agent running on your managed node.
agentVersion
- The version of SSM Agent running on your managed node.public void setPlatformType(String platformType)
The operating system platform type of the managed node. For example, Windows.
platformType
- The operating system platform type of the managed node. For example, Windows.PlatformType
public String getPlatformType()
The operating system platform type of the managed node. For example, Windows.
PlatformType
public InstanceProperty withPlatformType(String platformType)
The operating system platform type of the managed node. For example, Windows.
platformType
- The operating system platform type of the managed node. For example, Windows.PlatformType
public InstanceProperty withPlatformType(PlatformType platformType)
The operating system platform type of the managed node. For example, Windows.
platformType
- The operating system platform type of the managed node. For example, Windows.PlatformType
public void setPlatformName(String platformName)
The name of the operating system platform running on your managed node.
platformName
- The name of the operating system platform running on your managed node.public String getPlatformName()
The name of the operating system platform running on your managed node.
public InstanceProperty withPlatformName(String platformName)
The name of the operating system platform running on your managed node.
platformName
- The name of the operating system platform running on your managed node.public void setPlatformVersion(String platformVersion)
The version of the OS platform running on your managed node.
platformVersion
- The version of the OS platform running on your managed node.public String getPlatformVersion()
The version of the OS platform running on your managed node.
public InstanceProperty withPlatformVersion(String platformVersion)
The version of the OS platform running on your managed node.
platformVersion
- The version of the OS platform running on your managed node.public void setActivationId(String activationId)
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
activationId
- The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredpublic String getActivationId()
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
public InstanceProperty withActivationId(String activationId)
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
activationId
- The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredpublic void setIamRole(String iamRole)
The IAM role used in the hybrid activation to register the node with Systems Manager.
iamRole
- The IAM role used in the hybrid activation to register the node with Systems Manager.public String getIamRole()
The IAM role used in the hybrid activation to register the node with Systems Manager.
public InstanceProperty withIamRole(String iamRole)
The IAM role used in the hybrid activation to register the node with Systems Manager.
iamRole
- The IAM role used in the hybrid activation to register the node with Systems Manager.public void setRegistrationDate(Date registrationDate)
The date the node was registered with Systems Manager.
registrationDate
- The date the node was registered with Systems Manager.public Date getRegistrationDate()
The date the node was registered with Systems Manager.
public InstanceProperty withRegistrationDate(Date registrationDate)
The date the node was registered with Systems Manager.
registrationDate
- The date the node was registered with Systems Manager.public void setResourceType(String resourceType)
The type of managed node.
resourceType
- The type of managed node.public String getResourceType()
The type of managed node.
public InstanceProperty withResourceType(String resourceType)
The type of managed node.
resourceType
- The type of managed node.public void setComputerName(String computerName)
The fully qualified host name of the managed node.
computerName
- The fully qualified host name of the managed node.public String getComputerName()
The fully qualified host name of the managed node.
public InstanceProperty withComputerName(String computerName)
The fully qualified host name of the managed node.
computerName
- The fully qualified host name of the managed node.public void setAssociationStatus(String associationStatus)
The status of the State Manager association applied to the managed node.
associationStatus
- The status of the State Manager association applied to the managed node.public String getAssociationStatus()
The status of the State Manager association applied to the managed node.
public InstanceProperty withAssociationStatus(String associationStatus)
The status of the State Manager association applied to the managed node.
associationStatus
- The status of the State Manager association applied to the managed node.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 InstanceProperty 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 InstanceProperty 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)
associationOverview
- public InstanceAggregatedAssociationOverview getAssociationOverview()
public InstanceProperty withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
associationOverview
- public void setSourceId(String sourceId)
The ID of the source resource.
sourceId
- The ID of the source resource.public String getSourceId()
The ID of the source resource.
public InstanceProperty withSourceId(String sourceId)
The ID of the source resource.
sourceId
- The ID of the source resource.public void setSourceType(String sourceType)
The type of the source resource.
sourceType
- The type of the source resource.SourceType
public String getSourceType()
The type of the source resource.
SourceType
public InstanceProperty withSourceType(String sourceType)
The type of the source resource.
sourceType
- The type of the source resource.SourceType
public InstanceProperty withSourceType(SourceType sourceType)
The type of the source resource.
sourceType
- The type of the source resource.SourceType
public String toString()
toString
in class Object
Object.toString()
public InstanceProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.