public static interface MalformedQueryException.Builder extends SdkPojo, CopyableBuilder<MalformedQueryException.Builder,MalformedQueryException>, CloudWatchLogsException.Builder
Modifier and Type | Method and Description |
---|---|
MalformedQueryException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
MalformedQueryException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
MalformedQueryException.Builder |
message(String message)
Specifies the details of this exception.
|
default MalformedQueryException.Builder |
queryCompileError(Consumer<QueryCompileError.Builder> queryCompileError)
Sets the value of the QueryCompileError property for this object.
|
MalformedQueryException.Builder |
queryCompileError(QueryCompileError queryCompileError)
Sets the value of the QueryCompileError property for this object.
|
MalformedQueryException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
MalformedQueryException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
MalformedQueryException.Builder queryCompileError(QueryCompileError queryCompileError)
queryCompileError
- The new value for the QueryCompileError property for this object.default MalformedQueryException.Builder queryCompileError(Consumer<QueryCompileError.Builder> queryCompileError)
QueryCompileError.Builder
avoiding the need to
create one manually via QueryCompileError.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to queryCompileError(QueryCompileError)
.queryCompileError
- a consumer that will call methods on QueryCompileError.Builder
queryCompileError(QueryCompileError)
MalformedQueryException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface CloudWatchLogsException.Builder
awsErrorDetails
- Object containing additional details from the response.MalformedQueryException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface CloudWatchLogsException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
- The details of this exception.MalformedQueryException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface CloudWatchLogsException.Builder
requestId
in interface SdkServiceException.Builder
requestId
- A string that identifies the request made to a service.MalformedQueryException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface CloudWatchLogsException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
- an int containing the status code returned by the service.MalformedQueryException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface CloudWatchLogsException.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.