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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateJobResponse.Builderarn(String arn)The ARN for the job.CreateJobResponse.BuildercreatedAt(Instant createdAt)The date and time that the job was created, in ISO 8601 format.default CreateJobResponse.Builderdetails(Consumer<ResponseDetails.Builder> details)Details about the job.CreateJobResponse.Builderdetails(ResponseDetails details)Details about the job.CreateJobResponse.Buildererrors(Collection<JobError> errors)The errors associated with jobs.CreateJobResponse.Buildererrors(Consumer<JobError.Builder>... errors)The errors associated with jobs.CreateJobResponse.Buildererrors(JobError... errors)The errors associated with jobs.CreateJobResponse.Builderid(String id)The unique identifier for the job.CreateJobResponse.Builderstate(String state)The state of the job.CreateJobResponse.Builderstate(State state)The state of the job.CreateJobResponse.Buildertype(String type)The job type.CreateJobResponse.Buildertype(Type type)The job type.CreateJobResponse.BuilderupdatedAt(Instant updatedAt)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 Detail
-
arn
CreateJobResponse.Builder arn(String 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
CreateJobResponse.Builder createdAt(Instant 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
CreateJobResponse.Builder details(ResponseDetails 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
default CreateJobResponse.Builder details(Consumer<ResponseDetails.Builder> details)
Details about the job.
This is a convenience method that creates an instance of theResponseDetails.Builderavoiding the need to create one manually viaResponseDetails.builder().When the
Consumercompletes,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:
details(ResponseDetails)
-
errors
CreateJobResponse.Builder errors(Collection<JobError> 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
CreateJobResponse.Builder errors(JobError... 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
CreateJobResponse.Builder errors(Consumer<JobError.Builder>... errors)
The errors associated with jobs.
This is a convenience method that creates an instance of theJobError.Builderavoiding the need to create one manually viaJobError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
id
CreateJobResponse.Builder id(String 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
CreateJobResponse.Builder state(String state)
The state of the job.
-
state
CreateJobResponse.Builder state(State state)
The state of the job.
-
type
CreateJobResponse.Builder type(String type)
The job type.
-
type
CreateJobResponse.Builder type(Type type)
The job type.
-
updatedAt
CreateJobResponse.Builder updatedAt(Instant 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.
-
-