Interface ModelStreamErrorException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>,SageMakerRuntimeException.Builder,SdkBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ModelStreamErrorException
public static interface ModelStreamErrorException.Builder extends SdkPojo, CopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>, SageMakerRuntimeException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelStreamErrorException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ModelStreamErrorException.Buildercause(Throwable cause)ModelStreamErrorException.BuildererrorCode(String errorCode)This error can have the following error codes:ModelStreamErrorException.Buildermessage(String message)ModelStreamErrorException.BuilderrequestId(String requestId)ModelStreamErrorException.BuilderstatusCode(int statusCode)ModelStreamErrorException.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
errorCode
ModelStreamErrorException.Builder errorCode(String errorCode)
This error can have the following error codes:
- ModelInvocationTimeExceeded
-
The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
- Parameters:
errorCode- This error can have the following error codes:- ModelInvocationTimeExceeded
-
The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ModelStreamErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceSageMakerRuntimeException.Builder
-
message
ModelStreamErrorException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSageMakerRuntimeException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ModelStreamErrorException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSageMakerRuntimeException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ModelStreamErrorException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSageMakerRuntimeException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ModelStreamErrorException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSageMakerRuntimeException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ModelStreamErrorException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceSageMakerRuntimeException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-