Interface JobError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobError.Builder,
,JobError> SdkBuilder<JobError.Builder,
,JobError> SdkPojo
- Enclosing class:
JobError
public static interface JobError.Builder
extends SdkPojo, CopyableBuilder<JobError.Builder,JobError>
-
Method Summary
Modifier and TypeMethodDescriptionThe code for the job error.The code for the job error.default JobError.Builder
details
(Consumer<Details.Builder> details) The details about the job error.The details about the job error.The name of the limit that was reached.limitName
(JobErrorLimitName limitName) The name of the limit that was reached.limitValue
(Double limitValue) The value of the exceeded limit.The message related to the job error.resourceId
(String resourceId) The unique identifier for the resource related to the error.resourceType
(String resourceType) The type of resource related to the error.resourceType
(JobErrorResourceTypes resourceType) The type of resource related to the error.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 Details
-
code
The code for the job error.
- Parameters:
code
- The code for the job error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The code for the job error.
- Parameters:
code
- The code for the job error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
The details about the job error.
- Parameters:
details
- The details about the job error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
The details about the job error.
This is a convenience method that creates an instance of theDetails.Builder
avoiding the need to create one manually viaDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(Details)
.- Parameters:
details
- a consumer that will call methods onDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limitName
The name of the limit that was reached.
- Parameters:
limitName
- The name of the limit that was reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limitName
The name of the limit that was reached.
- Parameters:
limitName
- The name of the limit that was reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limitValue
The value of the exceeded limit.
- Parameters:
limitValue
- The value of the exceeded limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The message related to the job error.
- Parameters:
message
- The message related to the job error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The unique identifier for the resource related to the error.
- Parameters:
resourceId
- The unique identifier for the resource related to the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource related to the error.
- Parameters:
resourceType
- The type of resource related to the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource related to the error.
- Parameters:
resourceType
- The type of resource related to the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-