Interface InstanceInformation.Builder

    • Method Detail

      • instanceId

        InstanceInformation.Builder instanceId​(String instanceId)

        The managed node ID.

        Parameters:
        instanceId - The managed node ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pingStatus

        InstanceInformation.Builder pingStatus​(String pingStatus)

        Connection status of SSM Agent.

        The status Inactive has been deprecated and is no longer in use.

        Parameters:
        pingStatus - Connection status of SSM Agent.

        The status Inactive has been deprecated and is no longer in use.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PingStatus, PingStatus
      • pingStatus

        InstanceInformation.Builder pingStatus​(PingStatus pingStatus)

        Connection status of SSM Agent.

        The status Inactive has been deprecated and is no longer in use.

        Parameters:
        pingStatus - Connection status of SSM Agent.

        The status Inactive has been deprecated and is no longer in use.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PingStatus, PingStatus
      • lastPingDateTime

        InstanceInformation.Builder lastPingDateTime​(Instant lastPingDateTime)

        The date and time when the agent last pinged the Systems Manager service.

        Parameters:
        lastPingDateTime - The date and time when the agent last pinged the Systems Manager service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentVersion

        InstanceInformation.Builder agentVersion​(String agentVersion)

        The version of SSM Agent running on your Linux managed node.

        Parameters:
        agentVersion - The version of SSM Agent running on your Linux managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isLatestVersion

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platformType

        InstanceInformation.Builder platformType​(String platformType)

        The operating system platform type.

        Parameters:
        platformType - The operating system platform type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlatformType, PlatformType
      • platformName

        InstanceInformation.Builder platformName​(String platformName)

        The name of the operating system platform running on your managed node.

        Parameters:
        platformName - The name of the operating system platform running on your managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platformVersion

        InstanceInformation.Builder platformVersion​(String platformVersion)

        The version of the OS platform running on your managed node.

        Parameters:
        platformVersion - The version of the OS platform running on your managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • activationId

        InstanceInformation.Builder activationId​(String activationId)

        The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.

        Parameters:
        activationId - The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamRole

        InstanceInformation.Builder iamRole​(String iamRole)

        The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.

        This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged 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.

        Parameters:
        iamRole - The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.

        This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registrationDate

        InstanceInformation.Builder registrationDate​(Instant registrationDate)

        The date the server or VM was registered with Amazon Web Services as a managed node.

        Parameters:
        registrationDate - The date the server or VM was registered with Amazon Web Services as a managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        InstanceInformation.Builder resourceType​(String resourceType)

        The type of instance. Instances are either EC2 instances or managed instances.

        Parameters:
        resourceType - The type of instance. Instances are either EC2 instances or managed instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceType

        InstanceInformation.Builder resourceType​(ResourceType resourceType)

        The type of instance. Instances are either EC2 instances or managed instances.

        Parameters:
        resourceType - The type of instance. Instances are either EC2 instances or managed instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • ipAddress

        InstanceInformation.Builder ipAddress​(String ipAddress)

        The IP address of the managed node.

        Parameters:
        ipAddress - The IP address of the managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computerName

        InstanceInformation.Builder computerName​(String computerName)

        The fully qualified host name of the managed node.

        Parameters:
        computerName - The fully qualified host name of the managed node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationStatus

        InstanceInformation.Builder associationStatus​(String associationStatus)

        The status of the association.

        Parameters:
        associationStatus - The status of the association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastAssociationExecutionDate

        InstanceInformation.Builder lastAssociationExecutionDate​(Instant lastAssociationExecutionDate)

        The date the association was last run.

        Parameters:
        lastAssociationExecutionDate - The date the association was last run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastSuccessfulAssociationExecutionDate

        InstanceInformation.Builder lastSuccessfulAssociationExecutionDate​(Instant lastSuccessfulAssociationExecutionDate)

        The last date the association was successfully run.

        Parameters:
        lastSuccessfulAssociationExecutionDate - The last date the association was successfully run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationOverview

        InstanceInformation.Builder associationOverview​(InstanceAggregatedAssociationOverview associationOverview)

        Information about the association.

        Parameters:
        associationOverview - Information about the association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceId

        InstanceInformation.Builder sourceId​(String sourceId)

        The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.

        Parameters:
        sourceId - The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceType

        InstanceInformation.Builder sourceType​(String sourceType)

        The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.

        Parameters:
        sourceType - The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • sourceType

        InstanceInformation.Builder sourceType​(SourceType sourceType)

        The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.

        Parameters:
        sourceType - The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType