Interface CreateJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateJobResponse.Builder,
,CreateJobResponse> DataExchangeResponse.Builder
,SdkBuilder<CreateJobResponse.Builder,
,CreateJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateJobResponse
public static interface CreateJobResponse.Builder
extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<CreateJobResponse.Builder,CreateJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN for the job.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.details
(ResponseDetails details) Details about the job.errors
(Collection<JobError> errors) The errors associated with jobs.errors
(Consumer<JobError.Builder>... errors) The errors associated with jobs.The errors associated with jobs.The unique identifier for the job.The state of the job.The state of the job.The job type.The job type.The date and time that the job was last updated, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The ARN for the job.
- Parameters:
arn
- The ARN for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time that the job was created, in ISO 8601 format.
- Parameters:
createdAt
- The date and time that the job was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the job.
- Parameters:
details
- Details about the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the job.
This is a convenience method that creates an instance of theResponseDetails.Builder
avoiding the need to create one manually viaResponseDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(ResponseDetails)
.- Parameters:
details
- a consumer that will call methods onResponseDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The errors associated with jobs.
- Parameters:
errors
- The errors associated with jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors associated with jobs.
- Parameters:
errors
- The errors associated with jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors associated with jobs.
This is a convenience method that creates an instance of theJobError.Builder
avoiding the need to create one manually viaJobError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<JobError>)
.- Parameters:
errors
- a consumer that will call methods onJobError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The unique identifier for the job.
- Parameters:
id
- The unique identifier for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the job.
- Parameters:
state
- The state of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the job.
- Parameters:
state
- The state of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The job type.
- Parameters:
type
- The job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The job type.
- Parameters:
type
- The job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time that the job was last updated, in ISO 8601 format.
- Parameters:
updatedAt
- The date and time that the job was last updated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-