public static interface InternalServerErrorException.Builder extends CopyableBuilder<InternalServerErrorException.Builder,InternalServerErrorException>, GreengrassException.Builder
| Modifier and Type | Method and Description |
|---|---|
InternalServerErrorException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
InternalServerErrorException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
InternalServerErrorException.Builder |
errorDetails(Collection<ErrorDetail> errorDetails)
Error Details
|
InternalServerErrorException.Builder |
errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
Error Details This is a convenience that creates an instance of the
List
avoiding the need to create one manually via List. |
InternalServerErrorException.Builder |
errorDetails(ErrorDetail... errorDetails)
Error Details
|
InternalServerErrorException.Builder |
message(String message)
Specifies the details of this exception.
|
InternalServerErrorException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
InternalServerErrorException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copyapplyMutation, buildawsErrorDetails, buildrequestId, statusCodecause, messageInternalServerErrorException.Builder errorDetails(Collection<ErrorDetail> errorDetails)
errorDetails - Error DetailsInternalServerErrorException.Builder errorDetails(ErrorDetail... errorDetails)
errorDetails - Error DetailsInternalServerErrorException.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
List.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #errorDetails(List) .errorDetails - a consumer that will call methods on List.Builder #errorDetails(List) InternalServerErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.BuilderawsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface GreengrassException.BuilderawsErrorDetails - Object containing additional details from the response.InternalServerErrorException.Builder message(String message)
SdkException.Buildermessage in interface AwsServiceException.Buildermessage in interface GreengrassException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage - The details of this exception.InternalServerErrorException.Builder requestId(String requestId)
SdkServiceException.BuilderrequestId in interface AwsServiceException.BuilderrequestId in interface GreengrassException.BuilderrequestId in interface SdkServiceException.BuilderrequestId - A string that identifies the request made to a service.InternalServerErrorException.Builder statusCode(int statusCode)
SdkServiceException.BuilderstatusCode in interface AwsServiceException.BuilderstatusCode in interface GreengrassException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode - an int containing the status code returned by the service.InternalServerErrorException.Builder cause(Throwable cause)
SdkException.Buildercause in interface AwsServiceException.Buildercause in interface GreengrassException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause - The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.