Class RecordLifecycleActionHeartbeatRequest

    • Constructor Detail

      • RecordLifecycleActionHeartbeatRequest

        public RecordLifecycleActionHeartbeatRequest()
    • Method Detail

      • setLifecycleHookName

        public void setLifecycleHookName​(String lifecycleHookName)

        The name of the lifecycle hook.

        Parameters:
        lifecycleHookName - The name of the lifecycle hook.
      • getLifecycleHookName

        public String getLifecycleHookName()

        The name of the lifecycle hook.

        Returns:
        The name of the lifecycle hook.
      • withLifecycleHookName

        public RecordLifecycleActionHeartbeatRequest withLifecycleHookName​(String lifecycleHookName)

        The name of the lifecycle hook.

        Parameters:
        lifecycleHookName - The name of the lifecycle hook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoScalingGroupName

        public void setAutoScalingGroupName​(String autoScalingGroupName)

        The name of the Auto Scaling group for the hook.

        Parameters:
        autoScalingGroupName - The name of the Auto Scaling group for the hook.
      • getAutoScalingGroupName

        public String getAutoScalingGroupName()

        The name of the Auto Scaling group for the hook.

        Returns:
        The name of the Auto Scaling group for the hook.
      • withAutoScalingGroupName

        public RecordLifecycleActionHeartbeatRequest withAutoScalingGroupName​(String autoScalingGroupName)

        The name of the Auto Scaling group for the hook.

        Parameters:
        autoScalingGroupName - The name of the Auto Scaling group for the hook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLifecycleActionToken

        public void setLifecycleActionToken​(String lifecycleActionToken)

        A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

        Parameters:
        lifecycleActionToken - A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
      • getLifecycleActionToken

        public String getLifecycleActionToken()

        A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

        Returns:
        A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
      • withLifecycleActionToken

        public RecordLifecycleActionHeartbeatRequest withLifecycleActionToken​(String lifecycleActionToken)

        A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

        Parameters:
        lifecycleActionToken - A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
      • getInstanceId

        public String getInstanceId()

        The ID of the instance.

        Returns:
        The ID of the instance.
      • withInstanceId

        public RecordLifecycleActionHeartbeatRequest withInstanceId​(String instanceId)

        The ID of the instance.

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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object