Interface InstanceInformation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceInformation.Builder,InstanceInformation>, SdkBuilder<InstanceInformation.Builder,InstanceInformation>, SdkPojo
Enclosing class:
InstanceInformation

public static interface InstanceInformation.Builder extends SdkPojo, CopyableBuilder<InstanceInformation.Builder,InstanceInformation>
  • Method Details

    • 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

      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:
    • 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

      InstanceInformation.Builder platformType(PlatformType 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:
    • 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

      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 DescribeInstancesinvalid input: '<' /a> in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.

      Parameters:
      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.
      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

      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:
    • 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 and multicloud environment (Linux) and Install SSM Agent for a hybrid and multicloud 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.

      Parameters:
      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 and multicloud environment (Linux) and Install SSM Agent for a hybrid and multicloud 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • associationOverview

      default InstanceInformation.Builder associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)

      Information about the association.

      This is a convenience method that creates an instance of the InstanceAggregatedAssociationOverview.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).

      Parameters:
      associationOverview - a consumer that will call methods on InstanceAggregatedAssociationOverview.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: