Interface ModelStreamErrorException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,BedrockRuntimeException.Builder
,Buildable
,CopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
,SdkBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- ModelStreamErrorException
public static interface ModelStreamErrorException.Builder extends SdkPojo, CopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>, BedrockRuntimeException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelStreamErrorException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
ModelStreamErrorException.Builder
cause(Throwable cause)
ModelStreamErrorException.Builder
message(String message)
ModelStreamErrorException.Builder
originalMessage(String originalMessage)
The original message.ModelStreamErrorException.Builder
originalStatusCode(Integer originalStatusCode)
The original status code.ModelStreamErrorException.Builder
requestId(String requestId)
ModelStreamErrorException.Builder
statusCode(int statusCode)
ModelStreamErrorException.Builder
writableStackTrace(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
ModelStreamErrorException.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.
-
originalMessage
ModelStreamErrorException.Builder originalMessage(String originalMessage)
The original message.
- Parameters:
originalMessage
- The original message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ModelStreamErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceBedrockRuntimeException.Builder
-
message
ModelStreamErrorException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceBedrockRuntimeException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
ModelStreamErrorException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceBedrockRuntimeException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
ModelStreamErrorException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceBedrockRuntimeException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
ModelStreamErrorException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceBedrockRuntimeException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
ModelStreamErrorException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceBedrockRuntimeException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-