Interface InstanceProperty.Builder

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

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

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

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

      InstanceProperty.Builder instanceId(String instanceId)

      The ID of the managed node.

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

      InstanceProperty.Builder instanceType(String instanceType)

      The instance type of the managed node. For example, t3.large.

      Parameters:
      instanceType - The instance type of the managed node. For example, t3.large.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceRole

      InstanceProperty.Builder instanceRole(String instanceRole)

      The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

      Parameters:
      instanceRole - The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyName

      InstanceProperty.Builder keyName(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.

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

      InstanceProperty.Builder instanceState(String instanceState)

      The current state of the node.

      Parameters:
      instanceState - The current state of the node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architecture

      InstanceProperty.Builder architecture(String architecture)

      The CPU architecture of the node. For example, x86_64.

      Parameters:
      architecture - The CPU architecture of the node. For example, x86_64.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      InstanceProperty.Builder ipAddress(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.

      Parameters:
      ipAddress - The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchTime

      InstanceProperty.Builder launchTime(Instant launchTime)

      The timestamp for when the node was launched.

      Parameters:
      launchTime - The timestamp for when the node was launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pingStatus

      InstanceProperty.Builder pingStatus(String pingStatus)

      Connection status of the SSM Agent on the managed node.

      Parameters:
      pingStatus - Connection status of the SSM Agent on the managed node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pingStatus

      InstanceProperty.Builder pingStatus(PingStatus pingStatus)

      Connection status of the SSM Agent on the managed node.

      Parameters:
      pingStatus - Connection status of the SSM Agent on the managed node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastPingDateTime

      InstanceProperty.Builder lastPingDateTime(Instant lastPingDateTime)

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

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

      InstanceProperty.Builder agentVersion(String agentVersion)

      The version of SSM Agent running on your managed node.

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

      InstanceProperty.Builder platformType(String platformType)

      The operating system platform type of the managed node. For example, Windows.

      Parameters:
      platformType - The operating system platform type of the managed node. For example, Windows.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • platformType

      InstanceProperty.Builder platformType(PlatformType platformType)

      The operating system platform type of the managed node. For example, Windows.

      Parameters:
      platformType - The operating system platform type of the managed node. For example, Windows.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • platformName

      InstanceProperty.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

      InstanceProperty.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

      InstanceProperty.Builder activationId(String activationId)

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

      Parameters:
      activationId - The activation ID created by 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

      InstanceProperty.Builder iamRole(String iamRole)

      The IAM role used in the hybrid activation to register the node with Systems Manager.

      Parameters:
      iamRole - The IAM role used in the hybrid activation to register the node with Systems Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationDate

      InstanceProperty.Builder registrationDate(Instant registrationDate)

      The date the node was registered with Systems Manager.

      Parameters:
      registrationDate - The date the node was registered with Systems Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      InstanceProperty.Builder resourceType(String resourceType)

      The type of managed node.

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

      InstanceProperty.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

      InstanceProperty.Builder associationStatus(String associationStatus)

      The status of the State Manager association applied to the managed node.

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

      InstanceProperty.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

      InstanceProperty.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

      InstanceProperty.Builder associationOverview(InstanceAggregatedAssociationOverview associationOverview)
      Sets the value of the AssociationOverview property for this object.
      Parameters:
      associationOverview - The new value for the AssociationOverview property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationOverview

      default InstanceProperty.Builder associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)
      Sets the value of the AssociationOverview property for this object. 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

      InstanceProperty.Builder sourceId(String sourceId)

      The ID of the source resource.

      Parameters:
      sourceId - The ID of the source resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceType

      InstanceProperty.Builder sourceType(String sourceType)

      The type of the source resource.

      Parameters:
      sourceType - The type of the source resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceType

      InstanceProperty.Builder sourceType(SourceType sourceType)

      The type of the source resource.

      Parameters:
      sourceType - The type of the source resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: