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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobError.Builder
code(String code)
The code for the job error.JobError.Builder
code(Code code)
The code for the job error.default JobError.Builder
details(Consumer<Details.Builder> details)
The details about the job error.JobError.Builder
details(Details details)
The details about the job error.JobError.Builder
limitName(String limitName)
The name of the limit that was reached.JobError.Builder
limitName(JobErrorLimitName limitName)
The name of the limit that was reached.JobError.Builder
limitValue(Double limitValue)
The value of the exceeded limit.JobError.Builder
message(String message)
The message related to the job error.JobError.Builder
resourceId(String resourceId)
The unique identifier for the resource related to the error.JobError.Builder
resourceType(String resourceType)
The type of resource related to the error.JobError.Builder
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 Detail
-
code
JobError.Builder code(String code)
The code for the job error.
-
code
JobError.Builder code(Code code)
The code for the job error.
-
details
JobError.Builder details(Details 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
default JobError.Builder details(Consumer<Details.Builder> 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:
details(Details)
-
limitName
JobError.Builder limitName(String 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:
JobErrorLimitName
,JobErrorLimitName
-
limitName
JobError.Builder limitName(JobErrorLimitName 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:
JobErrorLimitName
,JobErrorLimitName
-
limitValue
JobError.Builder limitValue(Double 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
JobError.Builder message(String 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
JobError.Builder resourceId(String 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
JobError.Builder resourceType(String 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:
JobErrorResourceTypes
,JobErrorResourceTypes
-
resourceType
JobError.Builder resourceType(JobErrorResourceTypes 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:
JobErrorResourceTypes
,JobErrorResourceTypes
-
-