Interface BundleTask.Builder

    • Method Detail

      • bundleId

        BundleTask.Builder bundleId​(String bundleId)

        The ID of the bundle task.

        Parameters:
        bundleId - The ID of the bundle task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bundleTaskError

        BundleTask.Builder bundleTaskError​(BundleTaskError bundleTaskError)

        If the task fails, a description of the error.

        Parameters:
        bundleTaskError - If the task fails, a description of the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        BundleTask.Builder instanceId​(String instanceId)

        The ID of the instance associated with this bundle task.

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

        BundleTask.Builder progress​(String progress)

        The level of task completion, as a percent (for example, 20%).

        Parameters:
        progress - The level of task completion, as a percent (for example, 20%).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        BundleTask.Builder startTime​(Instant startTime)

        The time this task started.

        Parameters:
        startTime - The time this task started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storage

        BundleTask.Builder storage​(Storage storage)

        The Amazon S3 storage locations.

        Parameters:
        storage - The Amazon S3 storage locations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateTime

        BundleTask.Builder updateTime​(Instant updateTime)

        The time of the most recent update for the task.

        Parameters:
        updateTime - The time of the most recent update for the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.