Interface JobDetails.Builder

    • Method Detail

      • jobId

        JobDetails.Builder jobId​(String jobId)

        The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

        Parameters:
        jobId - The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        JobDetails.Builder status​(String status)

        The status of the job request.

        Parameters:
        status - The status of the job request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • status

        JobDetails.Builder status​(JobStatus status)

        The status of the job request.

        Parameters:
        status - The status of the job request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • startedOn

        JobDetails.Builder startedOn​(Instant startedOn)

        A timestamp of when the job was started.

        Parameters:
        startedOn - A timestamp of when the job was started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedOn

        JobDetails.Builder completedOn​(Instant completedOn)

        A timestamp of when the job was completed.

        Parameters:
        completedOn - A timestamp of when the job was completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobError

        JobDetails.Builder jobError​(JobError jobError)

        The job error for the policy generation request.

        Parameters:
        jobError - The job error for the policy generation request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.