public static interface InstanceInformation.Builder extends SdkPojo, CopyableBuilder<InstanceInformation.Builder,InstanceInformation>
| Modifier and Type | Method and Description |
|---|---|
InstanceInformation.Builder |
activationId(String activationId)
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was
registered.
|
InstanceInformation.Builder |
agentVersion(String agentVersion)
The version of SSM Agent running on your Linux managed node.
|
default InstanceInformation.Builder |
associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)
Information about the association.
|
InstanceInformation.Builder |
associationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
InstanceInformation.Builder |
associationStatus(String associationStatus)
The status of the association.
|
InstanceInformation.Builder |
computerName(String computerName)
The fully qualified host name of the managed node.
|
InstanceInformation.Builder |
iamRole(String iamRole)
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node.
|
InstanceInformation.Builder |
instanceId(String instanceId)
The managed node ID.
|
InstanceInformation.Builder |
ipAddress(String ipAddress)
The IP address of the managed node.
|
InstanceInformation.Builder |
isLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux managed node.
|
InstanceInformation.Builder |
lastAssociationExecutionDate(Instant lastAssociationExecutionDate)
The date the association was last run.
|
InstanceInformation.Builder |
lastPingDateTime(Instant lastPingDateTime)
The date and time when the agent last pinged the Systems Manager service.
|
InstanceInformation.Builder |
lastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
InstanceInformation.Builder |
name(String name)
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a
Systems Manager managed node.
|
InstanceInformation.Builder |
pingStatus(PingStatus pingStatus)
Connection status of SSM Agent.
|
InstanceInformation.Builder |
pingStatus(String pingStatus)
Connection status of SSM Agent.
|
InstanceInformation.Builder |
platformName(String platformName)
The name of the operating system platform running on your managed node.
|
InstanceInformation.Builder |
platformType(PlatformType platformType)
The operating system platform type.
|
InstanceInformation.Builder |
platformType(String platformType)
The operating system platform type.
|
InstanceInformation.Builder |
platformVersion(String platformVersion)
The version of the OS platform running on your managed node.
|
InstanceInformation.Builder |
registrationDate(Instant registrationDate)
The date the server or VM was registered with Amazon Web Services as a managed node.
|
InstanceInformation.Builder |
resourceType(ResourceType resourceType)
The type of instance.
|
InstanceInformation.Builder |
resourceType(String resourceType)
The type of instance.
|
InstanceInformation.Builder |
sourceId(String sourceId)
The ID of the source resource.
|
InstanceInformation.Builder |
sourceType(SourceType sourceType)
The type of the source resource.
|
InstanceInformation.Builder |
sourceType(String sourceType)
The type of the source resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceInformation.Builder instanceId(String instanceId)
The managed node ID.
instanceId - The managed node ID.InstanceInformation.Builder pingStatus(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,
PingStatusInstanceInformation.Builder pingStatus(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,
PingStatusInstanceInformation.Builder lastPingDateTime(Instant 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.InstanceInformation.Builder agentVersion(String agentVersion)
The version of SSM Agent running on your Linux managed node.
agentVersion - The version of SSM Agent running on your Linux managed node.InstanceInformation.Builder isLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
isLatestVersion - Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field
doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some
older versions of Windows Server use the EC2Config service to process Systems Manager requests.InstanceInformation.Builder platformType(String platformType)
The operating system platform type.
platformType - The operating system platform type.PlatformType,
PlatformTypeInstanceInformation.Builder platformType(PlatformType platformType)
The operating system platform type.
platformType - The operating system platform type.PlatformType,
PlatformTypeInstanceInformation.Builder platformName(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.InstanceInformation.Builder platformVersion(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.InstanceInformation.Builder activationId(String activationId)
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
activationId - The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine
(VM) was registered.InstanceInformation.Builder iamRole(String iamRole)
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node. This
call doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances. To retrieve the IAM
role for an EC2 instance, use the Amazon EC2 DescribeInstances operation. For information, see
DescribeInstances<
/a> in the Amazon EC2 API Reference or describe-instances in the
Amazon Web Services CLI Command Reference.
iamRole - The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances.
To retrieve the IAM role for an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in
the Amazon Web Services CLI Command Reference.InstanceInformation.Builder registrationDate(Instant registrationDate)
The date the server or VM was registered with Amazon Web Services as a managed node.
registrationDate - The date the server or VM was registered with Amazon Web Services as a managed node.InstanceInformation.Builder resourceType(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,
ResourceTypeInstanceInformation.Builder resourceType(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,
ResourceTypeInstanceInformation.Builder name(String name)
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a
Systems Manager managed node. The name is specified as the DefaultInstanceName property using
the CreateActivation command. It is applied to the managed node by specifying the Activation Code and
Activation ID when you install SSM Agent on the node, 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 operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the
Amazon Web Services CLI Command Reference.
name - The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated
as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation command. It is applied to the managed node by specifying
the Activation Code and Activation ID when you install SSM Agent on the node, 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 operation. For information, see
DescribeInstances in the Amazon EC2 API Reference or describe-instances in
the Amazon Web Services CLI Command Reference.InstanceInformation.Builder ipAddress(String ipAddress)
The IP address of the managed node.
ipAddress - The IP address of the managed node.InstanceInformation.Builder computerName(String computerName)
The fully qualified host name of the managed node.
computerName - The fully qualified host name of the managed node.InstanceInformation.Builder associationStatus(String associationStatus)
The status of the association.
associationStatus - The status of the association.InstanceInformation.Builder lastAssociationExecutionDate(Instant lastAssociationExecutionDate)
The date the association was last run.
lastAssociationExecutionDate - The date the association was last run.InstanceInformation.Builder lastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate - The last date the association was successfully run.InstanceInformation.Builder associationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview - Information about the association.default InstanceInformation.Builder associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)
Information about the association.
This is a convenience method that creates an instance of theInstanceAggregatedAssociationOverview.Builder avoiding the need to create one manually via
InstanceAggregatedAssociationOverview.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to associationOverview(InstanceAggregatedAssociationOverview).
associationOverview - a consumer that will call methods on InstanceAggregatedAssociationOverview.BuilderassociationOverview(InstanceAggregatedAssociationOverview)InstanceInformation.Builder sourceId(String sourceId)
The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.
sourceId - The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.InstanceInformation.Builder sourceType(String sourceType)
The type of the source resource. For IoT Greengrass devices, SourceType is
AWS::IoT::Thing.
sourceType - The type of the source resource. For IoT Greengrass devices, SourceType is
AWS::IoT::Thing.SourceType,
SourceTypeInstanceInformation.Builder sourceType(SourceType sourceType)
The type of the source resource. For IoT Greengrass devices, SourceType is
AWS::IoT::Thing.
sourceType - The type of the source resource. For IoT Greengrass devices, SourceType is
AWS::IoT::Thing.SourceType,
SourceTypeCopyright © 2023. All rights reserved.