Interface ModelErrorException.Builder
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ModelErrorException.Builder,,ModelErrorException> SageMakerRuntimeException.Builder,SdkBuilder<ModelErrorException.Builder,,ModelErrorException> SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ModelErrorException
@Mutable
@NotThreadSafe
public static interface ModelErrorException.Builder
extends SdkPojo, CopyableBuilder<ModelErrorException.Builder,ModelErrorException>, SageMakerRuntimeException.Builder
-
Method Summary
Modifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) logStreamArn(String logStreamArn) The Amazon Resource Name (ARN) of the log stream.numAttempts(Integer numAttempts) originalMessage(String originalMessage) Original message.originalStatusCode(Integer originalStatusCode) Original status code.statusCode(int statusCode) writableStackTrace(Boolean writableStackTrace) Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdMethods 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.exception.SdkException.Builder
cause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
Method Details
-
originalStatusCode
Original status code.
- Parameters:
originalStatusCode- Original status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalMessage
Original message.
- Parameters:
originalMessage- Original message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamArn
The Amazon Resource Name (ARN) of the log stream.
- Parameters:
logStreamArn- The Amazon Resource Name (ARN) of the log stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceSageMakerRuntimeException.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSageMakerRuntimeException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSageMakerRuntimeException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSageMakerRuntimeException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSageMakerRuntimeException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
- Specified by:
writableStackTracein interfaceSageMakerRuntimeException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceSageMakerRuntimeException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-