Interface ServiceError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceError.Builder,,ServiceError> SdkBuilder<ServiceError.Builder,,ServiceError> SdkPojo
- Enclosing class:
ServiceError
public static interface ServiceError.Builder
extends SdkPojo, CopyableBuilder<ServiceError.Builder,ServiceError>
-
Method Summary
Modifier and TypeMethodDescriptionWhen the error occurred.instanceId(String instanceId) The instance ID.A message that describes the error.serviceErrorId(String serviceErrorId) The error ID.The stack ID.The error type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceErrorId
The error ID.
- Parameters:
serviceErrorId- The error ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackId
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The instance ID.
- Parameters:
instanceId- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The error type.
- Parameters:
type- The error type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A message that describes the error.
- Parameters:
message- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
When the error occurred.
- Parameters:
createdAt- When the error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-