public static interface JobDescriptor.Builder extends SdkPojo, CopyableBuilder<JobDescriptor.Builder,JobDescriptor>
| Modifier and Type | Method and Description |
|---|---|
JobDescriptor.Builder |
confirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 begins running the specified job.
|
JobDescriptor.Builder |
creationTime(Instant creationTime)
A timestamp indicating when this job was created.
|
JobDescriptor.Builder |
description(String description)
The description for this job, if one was provided in this job's
Create Job request. |
JobDescriptor.Builder |
failureReasons(Collection<JobFailure> failureReasons)
If the specified job failed, this field contains information describing the failure.
|
JobDescriptor.Builder |
failureReasons(Consumer<JobFailure.Builder>... failureReasons)
If the specified job failed, this field contains information describing the failure.
|
JobDescriptor.Builder |
failureReasons(JobFailure... failureReasons)
If the specified job failed, this field contains information describing the failure.
|
default JobDescriptor.Builder |
generatedManifestDescriptor(Consumer<S3GeneratedManifestDescriptor.Builder> generatedManifestDescriptor)
The attribute of the JobDescriptor containing details about the job's generated manifest.
|
JobDescriptor.Builder |
generatedManifestDescriptor(S3GeneratedManifestDescriptor generatedManifestDescriptor)
The attribute of the JobDescriptor containing details about the job's generated manifest.
|
JobDescriptor.Builder |
jobArn(String jobArn)
The Amazon Resource Name (ARN) for this job.
|
JobDescriptor.Builder |
jobId(String jobId)
The ID for the specified job.
|
default JobDescriptor.Builder |
manifest(Consumer<JobManifest.Builder> manifest)
The configuration information for the specified job's manifest object.
|
JobDescriptor.Builder |
manifest(JobManifest manifest)
The configuration information for the specified job's manifest object.
|
default JobDescriptor.Builder |
manifestGenerator(Consumer<JobManifestGenerator.Builder> manifestGenerator)
The manifest generator that was used to generate a job manifest for this job.
|
JobDescriptor.Builder |
manifestGenerator(JobManifestGenerator manifestGenerator)
The manifest generator that was used to generate a job manifest for this job.
|
default JobDescriptor.Builder |
operation(Consumer<JobOperation.Builder> operation)
The operation that the specified job is configured to run on the objects listed in the manifest.
|
JobDescriptor.Builder |
operation(JobOperation operation)
The operation that the specified job is configured to run on the objects listed in the manifest.
|
JobDescriptor.Builder |
priority(Integer priority)
The priority of the specified job.
|
default JobDescriptor.Builder |
progressSummary(Consumer<JobProgressSummary.Builder> progressSummary)
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and
the number of tasks that failed.
|
JobDescriptor.Builder |
progressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and
the number of tasks that failed.
|
default JobDescriptor.Builder |
report(Consumer<JobReport.Builder> report)
Contains the configuration information for the job-completion report if you requested one in the
Create Job request. |
JobDescriptor.Builder |
report(JobReport report)
Contains the configuration information for the job-completion report if you requested one in the
Create Job request. |
JobDescriptor.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role assigned to run the tasks
for this job.
|
JobDescriptor.Builder |
status(JobStatus status)
The current status of the specified job.
|
JobDescriptor.Builder |
status(String status)
The current status of the specified job.
|
JobDescriptor.Builder |
statusUpdateReason(String statusUpdateReason)
The reason for updating the job.
|
JobDescriptor.Builder |
suspendedCause(String suspendedCause)
The reason why the specified job was suspended.
|
JobDescriptor.Builder |
suspendedDate(Instant suspendedDate)
The timestamp when this job was suspended, if it has been suspended.
|
JobDescriptor.Builder |
terminationDate(Instant terminationDate)
A timestamp indicating when this job terminated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJobDescriptor.Builder jobId(String jobId)
The ID for the specified job.
jobId - The ID for the specified job.JobDescriptor.Builder confirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 begins running the specified job. Confirmation is required only for jobs created through the Amazon S3 console.
confirmationRequired - Indicates whether confirmation is required before Amazon S3 begins running the specified job.
Confirmation is required only for jobs created through the Amazon S3 console.JobDescriptor.Builder description(String description)
The description for this job, if one was provided in this job's Create Job request.
description - The description for this job, if one was provided in this job's Create Job request.JobDescriptor.Builder jobArn(String jobArn)
The Amazon Resource Name (ARN) for this job.
jobArn - The Amazon Resource Name (ARN) for this job.JobDescriptor.Builder status(String status)
The current status of the specified job.
JobDescriptor.Builder status(JobStatus status)
The current status of the specified job.
JobDescriptor.Builder manifest(JobManifest manifest)
The configuration information for the specified job's manifest object.
manifest - The configuration information for the specified job's manifest object.default JobDescriptor.Builder manifest(Consumer<JobManifest.Builder> manifest)
The configuration information for the specified job's manifest object.
This is a convenience method that creates an instance of theJobManifest.Builder avoiding the need to
create one manually via JobManifest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to manifest(JobManifest).manifest - a consumer that will call methods on JobManifest.Buildermanifest(JobManifest)JobDescriptor.Builder operation(JobOperation operation)
The operation that the specified job is configured to run on the objects listed in the manifest.
operation - The operation that the specified job is configured to run on the objects listed in the manifest.default JobDescriptor.Builder operation(Consumer<JobOperation.Builder> operation)
The operation that the specified job is configured to run on the objects listed in the manifest.
This is a convenience method that creates an instance of theJobOperation.Builder avoiding the need
to create one manually via JobOperation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to operation(JobOperation).operation - a consumer that will call methods on JobOperation.Builderoperation(JobOperation)JobDescriptor.Builder priority(Integer priority)
The priority of the specified job.
priority - The priority of the specified job.JobDescriptor.Builder progressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
progressSummary - Describes the total number of tasks that the specified job has run, the number of tasks that
succeeded, and the number of tasks that failed.default JobDescriptor.Builder progressSummary(Consumer<JobProgressSummary.Builder> progressSummary)
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
This is a convenience method that creates an instance of theJobProgressSummary.Builder avoiding the
need to create one manually via JobProgressSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to progressSummary(JobProgressSummary).progressSummary - a consumer that will call methods on JobProgressSummary.BuilderprogressSummary(JobProgressSummary)JobDescriptor.Builder statusUpdateReason(String statusUpdateReason)
The reason for updating the job.
statusUpdateReason - The reason for updating the job.JobDescriptor.Builder failureReasons(Collection<JobFailure> failureReasons)
If the specified job failed, this field contains information describing the failure.
failureReasons - If the specified job failed, this field contains information describing the failure.JobDescriptor.Builder failureReasons(JobFailure... failureReasons)
If the specified job failed, this field contains information describing the failure.
failureReasons - If the specified job failed, this field contains information describing the failure.JobDescriptor.Builder failureReasons(Consumer<JobFailure.Builder>... failureReasons)
If the specified job failed, this field contains information describing the failure.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #failureReasons(List) .failureReasons - a consumer that will call methods on List.Builder #failureReasons(List) JobDescriptor.Builder report(JobReport report)
Contains the configuration information for the job-completion report if you requested one in the
Create Job request.
report - Contains the configuration information for the job-completion report if you requested one in the
Create Job request.default JobDescriptor.Builder report(Consumer<JobReport.Builder> report)
Contains the configuration information for the job-completion report if you requested one in the
Create Job request.
JobReport.Builder avoiding the need to
create one manually via JobReport.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to report(JobReport).report - a consumer that will call methods on JobReport.Builderreport(JobReport)JobDescriptor.Builder creationTime(Instant creationTime)
A timestamp indicating when this job was created.
creationTime - A timestamp indicating when this job was created.JobDescriptor.Builder terminationDate(Instant terminationDate)
A timestamp indicating when this job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
terminationDate - A timestamp indicating when this job terminated. A job's termination date is the date and time when it
succeeded, failed, or was canceled.JobDescriptor.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role assigned to run the tasks for this job.
roleArn - The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role assigned to run the
tasks for this job.JobDescriptor.Builder suspendedDate(Instant suspendedDate)
The timestamp when this job was suspended, if it has been suspended.
suspendedDate - The timestamp when this job was suspended, if it has been suspended.JobDescriptor.Builder suspendedCause(String suspendedCause)
The reason why the specified job was suspended. A job is only suspended if you create it through the Amazon
S3 console. When you create the job, it enters the Suspended state to await confirmation before
running. After you confirm the job, it automatically exits the Suspended state.
suspendedCause - The reason why the specified job was suspended. A job is only suspended if you create it through the
Amazon S3 console. When you create the job, it enters the Suspended state to await
confirmation before running. After you confirm the job, it automatically exits the
Suspended state.JobDescriptor.Builder manifestGenerator(JobManifestGenerator manifestGenerator)
The manifest generator that was used to generate a job manifest for this job.
manifestGenerator - The manifest generator that was used to generate a job manifest for this job.default JobDescriptor.Builder manifestGenerator(Consumer<JobManifestGenerator.Builder> manifestGenerator)
The manifest generator that was used to generate a job manifest for this job.
This is a convenience method that creates an instance of theJobManifestGenerator.Builder avoiding
the need to create one manually via JobManifestGenerator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to manifestGenerator(JobManifestGenerator).manifestGenerator - a consumer that will call methods on JobManifestGenerator.BuildermanifestGenerator(JobManifestGenerator)JobDescriptor.Builder generatedManifestDescriptor(S3GeneratedManifestDescriptor generatedManifestDescriptor)
The attribute of the JobDescriptor containing details about the job's generated manifest.
generatedManifestDescriptor - The attribute of the JobDescriptor containing details about the job's generated manifest.default JobDescriptor.Builder generatedManifestDescriptor(Consumer<S3GeneratedManifestDescriptor.Builder> generatedManifestDescriptor)
The attribute of the JobDescriptor containing details about the job's generated manifest.
This is a convenience method that creates an instance of theS3GeneratedManifestDescriptor.Builder
avoiding the need to create one manually via S3GeneratedManifestDescriptor.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to generatedManifestDescriptor(S3GeneratedManifestDescriptor).generatedManifestDescriptor - a consumer that will call methods on S3GeneratedManifestDescriptor.BuildergeneratedManifestDescriptor(S3GeneratedManifestDescriptor)Copyright © 2022. All rights reserved.