public static interface CreateJobResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<CreateJobResponse.Builder,CreateJobResponse>
Modifier and Type | Method and Description |
---|---|
CreateJobResponse.Builder |
arn(String arn)
The ARN for the job.
|
CreateJobResponse.Builder |
createdAt(Instant createdAt)
The date and time that the job was created, in ISO 8601 format.
|
default CreateJobResponse.Builder |
details(Consumer<ResponseDetails.Builder> details)
Details about the job.
|
CreateJobResponse.Builder |
details(ResponseDetails details)
Details about the job.
|
CreateJobResponse.Builder |
errors(Collection<JobError> errors)
The errors associated with jobs.
|
CreateJobResponse.Builder |
errors(Consumer<JobError.Builder>... errors)
The errors associated with jobs.
|
CreateJobResponse.Builder |
errors(JobError... errors)
The errors associated with jobs.
|
CreateJobResponse.Builder |
id(String id)
The unique identifier for the job.
|
CreateJobResponse.Builder |
state(State state)
The state of the job.
|
CreateJobResponse.Builder |
state(String state)
The state of the job.
|
CreateJobResponse.Builder |
type(String type)
The job type.
|
CreateJobResponse.Builder |
type(Type type)
The job type.
|
CreateJobResponse.Builder |
updatedAt(Instant updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateJobResponse.Builder arn(String arn)
The ARN for the job.
arn
- The ARN for the job.CreateJobResponse.Builder createdAt(Instant createdAt)
The date and time that the job was created, in ISO 8601 format.
createdAt
- The date and time that the job was created, in ISO 8601 format.CreateJobResponse.Builder details(ResponseDetails details)
Details about the job.
details
- Details about the job.default CreateJobResponse.Builder details(Consumer<ResponseDetails.Builder> details)
Details about the job.
This is a convenience that creates an instance of theResponseDetails.Builder
avoiding the need to
create one manually via ResponseDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to details(ResponseDetails)
.details
- a consumer that will call methods on ResponseDetails.Builder
details(ResponseDetails)
CreateJobResponse.Builder errors(Collection<JobError> errors)
The errors associated with jobs.
errors
- The errors associated with jobs.CreateJobResponse.Builder errors(JobError... errors)
The errors associated with jobs.
errors
- The errors associated with jobs.CreateJobResponse.Builder errors(Consumer<JobError.Builder>... errors)
The errors associated with jobs.
This is a convenience 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 #errors(List)
.errors
- a consumer that will call methods on List.Builder
#errors(List)
CreateJobResponse.Builder id(String id)
The unique identifier for the job.
id
- The unique identifier for the job.CreateJobResponse.Builder state(String state)
The state of the job.
CreateJobResponse.Builder state(State state)
The state of the job.
CreateJobResponse.Builder type(String type)
The job type.
CreateJobResponse.Builder type(Type type)
The job type.
CreateJobResponse.Builder updatedAt(Instant updatedAt)
The date and time that the job was last updated, in ISO 8601 format.
updatedAt
- The date and time that the job was last updated, in ISO 8601 format.Copyright © 2021. All rights reserved.