Interface CreateJobRequest.Builder

    • Method Detail

      • accountId

        CreateJobRequest.Builder accountId​(String accountId)

        The Amazon Web Services account ID that creates the job.

        Parameters:
        accountId - The Amazon Web Services account ID that creates the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confirmationRequired

        CreateJobRequest.Builder confirmationRequired​(Boolean confirmationRequired)

        Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.

        Parameters:
        confirmationRequired - Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operation

        CreateJobRequest.Builder operation​(JobOperation operation)

        The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.

        Parameters:
        operation - The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • report

        CreateJobRequest.Builder report​(JobReport report)

        Configuration parameters for the optional job-completion report.

        Parameters:
        report - Configuration parameters for the optional job-completion report.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        CreateJobRequest.Builder clientRequestToken​(String clientRequestToken)

        An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.

        Parameters:
        clientRequestToken - An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • manifest

        CreateJobRequest.Builder manifest​(JobManifest manifest)

        Configuration parameters for the manifest.

        Parameters:
        manifest - Configuration parameters for the manifest.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateJobRequest.Builder description​(String description)

        A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.

        Parameters:
        description - A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • priority

        CreateJobRequest.Builder priority​(Integer priority)

        The numerical priority for this job. Higher numbers indicate higher priority.

        Parameters:
        priority - The numerical priority for this job. Higher numbers indicate higher priority.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateJobRequest.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateJobRequest.Builder tags​(Collection<S3Tag> tags)

        A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.

        Parameters:
        tags - A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateJobRequest.Builder tags​(S3Tag... tags)

        A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.

        Parameters:
        tags - A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateJobRequest.Builder tags​(Consumer<S3Tag.Builder>... tags)

        A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.

        This is a convenience method that creates an instance of the S3Tag.Builder avoiding the need to create one manually via S3Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on S3Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • manifestGenerator

        CreateJobRequest.Builder manifestGenerator​(JobManifestGenerator manifestGenerator)

        The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.

        Parameters:
        manifestGenerator - The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.