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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceError.BuildercreatedAt(String createdAt)When the error occurred.ServiceError.BuilderinstanceId(String instanceId)The instance ID.ServiceError.Buildermessage(String message)A message that describes the error.ServiceError.BuilderserviceErrorId(String serviceErrorId)The error ID.ServiceError.BuilderstackId(String stackId)The stack ID.ServiceError.Buildertype(String type)The error type.-
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
-
serviceErrorId
ServiceError.Builder serviceErrorId(String 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
ServiceError.Builder stackId(String 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
ServiceError.Builder instanceId(String 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
ServiceError.Builder type(String 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
ServiceError.Builder message(String 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
ServiceError.Builder createdAt(String 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.
-
-