Interface GetJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJobResponse.Builder,GetJobResponse>,DataExchangeResponse.Builder,SdkBuilder<GetJobResponse.Builder,GetJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetJobResponse
public static interface GetJobResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetJobResponse.Builderarn(String arn)The ARN for the job.GetJobResponse.BuildercreatedAt(Instant createdAt)The date and time that the job was created, in ISO 8601 format.default GetJobResponse.Builderdetails(Consumer<ResponseDetails.Builder> details)Details about the job.GetJobResponse.Builderdetails(ResponseDetails details)Details about the job.GetJobResponse.Buildererrors(Collection<JobError> errors)The errors associated with jobs.GetJobResponse.Buildererrors(Consumer<JobError.Builder>... errors)The errors associated with jobs.GetJobResponse.Buildererrors(JobError... errors)The errors associated with jobs.GetJobResponse.Builderid(String id)The unique identifier for the job.GetJobResponse.Builderstate(String state)The state of the job.GetJobResponse.Builderstate(State state)The state of the job.GetJobResponse.Buildertype(String type)The job type.GetJobResponse.Buildertype(Type type)The job type.GetJobResponse.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
GetJobResponse.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
GetJobResponse.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
GetJobResponse.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 GetJobResponse.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
GetJobResponse.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
GetJobResponse.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
GetJobResponse.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
GetJobResponse.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
GetJobResponse.Builder state(String state)
The state of the job.
-
state
GetJobResponse.Builder state(State state)
The state of the job.
-
type
GetJobResponse.Builder type(String type)
The job type.
-
type
GetJobResponse.Builder type(Type type)
The job type.
-
updatedAt
GetJobResponse.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.
-
-