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 Systems Manager when the server or VM was registered.
|
InstanceInformation.Builder |
agentVersion(String agentVersion)
The version of SSM Agent running on your Linux instance.
|
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 instance.
|
InstanceInformation.Builder |
iamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instance.
|
InstanceInformation.Builder |
instanceId(String instanceId)
The instance ID.
|
InstanceInformation.Builder |
ipAddress(String ipAddress)
The IP address of the managed instance.
|
InstanceInformation.Builder |
isLatestVersion(Boolean isLatestVersion)
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance.
|
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 or virtual machine (VM) when it is activated as a Systems Manager
managed instance.
|
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 instance.
|
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 instance.
|
InstanceInformation.Builder |
registrationDate(Instant registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
InstanceInformation.Builder |
resourceType(ResourceType resourceType)
The type of instance.
|
InstanceInformation.Builder |
resourceType(String resourceType)
The type of instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceInformation.Builder instanceId(String instanceId)
The instance ID.
instanceId - The instance 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 instance.
agentVersion - The version of SSM Agent running on your Linux instance.InstanceInformation.Builder isLatestVersion(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.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 instance.
platformName - The name of the operating system platform running on your instance.InstanceInformation.Builder platformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion - The version of the OS platform running on your instance.InstanceInformation.Builder activationId(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.InstanceInformation.Builder iamRole(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.InstanceInformation.Builder registrationDate(Instant 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.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 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.InstanceInformation.Builder ipAddress(String ipAddress)
The IP address of the managed instance.
ipAddress - The IP address of the managed instance.InstanceInformation.Builder computerName(String computerName)
The fully qualified host name of the managed instance.
computerName - The fully qualified host name of the managed instance.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 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)Copyright © 2021. All rights reserved.