Interface Activity.Builder

    • Method Detail

      • activityId

        Activity.Builder activityId​(String activityId)

        The ID of the activity.

        Parameters:
        activityId - The ID of the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingGroupName

        Activity.Builder autoScalingGroupName​(String autoScalingGroupName)

        The name of the Auto Scaling group.

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

        Activity.Builder description​(String description)

        A friendly, more verbose description of the activity.

        Parameters:
        description - A friendly, more verbose description of the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cause

        Activity.Builder cause​(String cause)

        The reason the activity began.

        Parameters:
        cause - The reason the activity began.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        Activity.Builder startTime​(Instant startTime)

        The start time of the activity.

        Parameters:
        startTime - The start time of the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        Activity.Builder endTime​(Instant endTime)

        The end time of the activity.

        Parameters:
        endTime - The end time of the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusMessage

        Activity.Builder statusMessage​(String statusMessage)

        A friendly, more verbose description of the activity status.

        Parameters:
        statusMessage - A friendly, more verbose description of the activity status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • progress

        Activity.Builder progress​(Integer progress)

        A value between 0 and 100 that indicates the progress of the activity.

        Parameters:
        progress - A value between 0 and 100 that indicates the progress of the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • details

        Activity.Builder details​(String details)

        The details about the activity.

        Parameters:
        details - The details about the activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingGroupState

        Activity.Builder autoScalingGroupState​(String autoScalingGroupState)

        The state of the Auto Scaling group, which is either InService or Deleted.

        Parameters:
        autoScalingGroupState - The state of the Auto Scaling group, which is either InService or Deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingGroupARN

        Activity.Builder autoScalingGroupARN​(String autoScalingGroupARN)

        The Amazon Resource Name (ARN) of the Auto Scaling group.

        Parameters:
        autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.