Interface JobEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobEntry.Builder,JobEntry>,SdkBuilder<JobEntry.Builder,JobEntry>,SdkPojo
- Enclosing class:
- JobEntry
public static interface JobEntry.Builder extends SdkPojo, CopyableBuilder<JobEntry.Builder,JobEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobEntry.Builderarn(String arn)The ARN for the job.JobEntry.BuildercreatedAt(Instant createdAt)The date and time that the job was created, in ISO 8601 format.default JobEntry.Builderdetails(Consumer<ResponseDetails.Builder> details)Details of the operation to be performed by the job, such as export destination details or import source details.JobEntry.Builderdetails(ResponseDetails details)Details of the operation to be performed by the job, such as export destination details or import source details.JobEntry.Buildererrors(Collection<JobError> errors)Errors for jobs.JobEntry.Buildererrors(Consumer<JobError.Builder>... errors)Errors for jobs.JobEntry.Buildererrors(JobError... errors)Errors for jobs.JobEntry.Builderid(String id)The unique identifier for the job.JobEntry.Builderstate(String state)The state of the job.JobEntry.Builderstate(State state)The state of the job.JobEntry.Buildertype(String type)The job type.JobEntry.Buildertype(Type type)The job type.JobEntry.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
JobEntry.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
JobEntry.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
JobEntry.Builder details(ResponseDetails details)
Details of the operation to be performed by the job, such as export destination details or import source details.
- Parameters:
details- Details of the operation to be performed by the job, such as export destination details or import source details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
default JobEntry.Builder details(Consumer<ResponseDetails.Builder> details)
Details of the operation to be performed by the job, such as export destination details or import source details.
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
JobEntry.Builder errors(Collection<JobError> errors)
Errors for jobs.
- Parameters:
errors- Errors for jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
JobEntry.Builder errors(JobError... errors)
Errors for jobs.
- Parameters:
errors- Errors for jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
JobEntry.Builder errors(Consumer<JobError.Builder>... errors)
Errors for 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
JobEntry.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
JobEntry.Builder state(String state)
The state of the job.
-
state
JobEntry.Builder state(State state)
The state of the job.
-
type
JobEntry.Builder type(String type)
The job type.
-
type
JobEntry.Builder type(Type type)
The job type.
-
updatedAt
JobEntry.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.
-
-