Interface JobListEntry.Builder

    • Method Detail

      • jobId

        JobListEntry.Builder jobId​(String jobId)

        The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.

        Parameters:
        jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobState

        JobListEntry.Builder jobState​(String jobState)

        The current state of this job.

        Parameters:
        jobState - The current state of this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState, JobState
      • jobState

        JobListEntry.Builder jobState​(JobState jobState)

        The current state of this job.

        Parameters:
        jobState - The current state of this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState, JobState
      • isMaster

        JobListEntry.Builder isMaster​(Boolean isMaster)

        A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.

        Parameters:
        isMaster - A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobType

        JobListEntry.Builder jobType​(String jobType)

        The type of job.

        Parameters:
        jobType - The type of job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • jobType

        JobListEntry.Builder jobType​(JobType jobType)

        The type of job.

        Parameters:
        jobType - The type of job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • snowballType

        JobListEntry.Builder snowballType​(String snowballType)

        The type of device used with this job.

        Parameters:
        snowballType - The type of device used with this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • snowballType

        JobListEntry.Builder snowballType​(SnowballType snowballType)

        The type of device used with this job.

        Parameters:
        snowballType - The type of device used with this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • creationDate

        JobListEntry.Builder creationDate​(Instant creationDate)

        The creation date for this job.

        Parameters:
        creationDate - The creation date for this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        JobListEntry.Builder description​(String description)

        The optional description of this specific job, for example Important Photos 2016-08-11.

        Parameters:
        description - The optional description of this specific job, for example Important Photos 2016-08-11.
        Returns:
        Returns a reference to this object so that method calls can be chained together.