public static interface ModelErrorException.Builder extends SdkPojo, CopyableBuilder<ModelErrorException.Builder,ModelErrorException>, SageMakerRuntimeException.Builder
Modifier and Type | Method and Description |
---|---|
ModelErrorException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
ModelErrorException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
ModelErrorException.Builder |
logStreamArn(String logStreamArn)
The Amazon Resource Name (ARN) of the log stream.
|
ModelErrorException.Builder |
message(String message)
Specifies the details of this exception.
|
ModelErrorException.Builder |
originalMessage(String originalMessage)
Original message.
|
ModelErrorException.Builder |
originalStatusCode(Integer originalStatusCode)
Original status code.
|
ModelErrorException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
ModelErrorException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
ModelErrorException.Builder originalStatusCode(Integer originalStatusCode)
Original status code.
originalStatusCode
- Original status code.ModelErrorException.Builder originalMessage(String originalMessage)
Original message.
originalMessage
- Original message.ModelErrorException.Builder logStreamArn(String logStreamArn)
The Amazon Resource Name (ARN) of the log stream.
logStreamArn
- The Amazon Resource Name (ARN) of the log stream.ModelErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface SageMakerRuntimeException.Builder
awsErrorDetails
- Object containing additional details from the response.ModelErrorException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface SageMakerRuntimeException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
- The details of this exception.ModelErrorException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface SageMakerRuntimeException.Builder
requestId
in interface SdkServiceException.Builder
requestId
- A string that identifies the request made to a service.ModelErrorException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface SageMakerRuntimeException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
- an int containing the status code returned by the service.ModelErrorException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface SageMakerRuntimeException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
cause
- The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.