Interface StoreImageTaskResult.Builder

    • Method Detail

      • amiId

        StoreImageTaskResult.Builder amiId​(String amiId)

        The ID of the AMI that is being stored.

        Parameters:
        amiId - The ID of the AMI that is being stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskStartTime

        StoreImageTaskResult.Builder taskStartTime​(Instant taskStartTime)

        The time the task started.

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

        StoreImageTaskResult.Builder bucket​(String bucket)

        The name of the Amazon S3 bucket that contains the stored AMI object.

        Parameters:
        bucket - The name of the Amazon S3 bucket that contains the stored AMI object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3objectKey

        StoreImageTaskResult.Builder s3objectKey​(String s3objectKey)

        The name of the stored AMI object in the bucket.

        Parameters:
        s3objectKey - The name of the stored AMI object in the bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • progressPercentage

        StoreImageTaskResult.Builder progressPercentage​(Integer progressPercentage)

        The progress of the task as a percentage.

        Parameters:
        progressPercentage - The progress of the task as a percentage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storeTaskState

        StoreImageTaskResult.Builder storeTaskState​(String storeTaskState)

        The state of the store task (InProgress, Completed, or Failed).

        Parameters:
        storeTaskState - The state of the store task (InProgress, Completed, or Failed).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storeTaskFailureReason

        StoreImageTaskResult.Builder storeTaskFailureReason​(String storeTaskFailureReason)

        If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.

        Parameters:
        storeTaskFailureReason - If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.