Interface ModelErrorException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,BedrockRuntimeException.Builder,Buildable,CopyableBuilder<ModelErrorException.Builder,ModelErrorException>,SdkBuilder<ModelErrorException.Builder,ModelErrorException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ModelErrorException
public static interface ModelErrorException.Builder extends SdkPojo, CopyableBuilder<ModelErrorException.Builder,ModelErrorException>, BedrockRuntimeException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelErrorException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ModelErrorException.Buildercause(Throwable cause)ModelErrorException.Buildermessage(String message)ModelErrorException.BuilderoriginalStatusCode(Integer originalStatusCode)The original status code.ModelErrorException.BuilderrequestId(String requestId)ModelErrorException.BuilderresourceName(String resourceName)The resource name.ModelErrorException.BuilderstatusCode(int statusCode)ModelErrorException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
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.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
originalStatusCode
ModelErrorException.Builder originalStatusCode(Integer originalStatusCode)
The original status code.
- Parameters:
originalStatusCode- The original status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
ModelErrorException.Builder resourceName(String resourceName)
The resource name.
- Parameters:
resourceName- The resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ModelErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceBedrockRuntimeException.Builder
-
message
ModelErrorException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceBedrockRuntimeException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ModelErrorException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceBedrockRuntimeException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ModelErrorException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceBedrockRuntimeException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ModelErrorException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceBedrockRuntimeException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ModelErrorException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceBedrockRuntimeException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-