Interface MalformedQueryException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,CloudWatchLogsException.Builder
,CopyableBuilder<MalformedQueryException.Builder,MalformedQueryException>
,SdkBuilder<MalformedQueryException.Builder,MalformedQueryException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- MalformedQueryException
public static interface MalformedQueryException.Builder extends SdkPojo, CopyableBuilder<MalformedQueryException.Builder,MalformedQueryException>, CloudWatchLogsException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MalformedQueryException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
MalformedQueryException.Builder
cause(Throwable cause)
MalformedQueryException.Builder
message(String message)
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)
MalformedQueryException.Builder
statusCode(int statusCode)
MalformedQueryException.Builder
writableStackTrace(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
queryCompileError
MalformedQueryException.Builder queryCompileError(QueryCompileError queryCompileError)
Sets the value of the QueryCompileError property for this object.- Parameters:
queryCompileError
- The new value for the QueryCompileError property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryCompileError
default MalformedQueryException.Builder queryCompileError(Consumer<QueryCompileError.Builder> queryCompileError)
Sets the value of the QueryCompileError property for this object. This is a convenience method that creates an instance of theQueryCompileError.Builder
avoiding the need to create one manually viaQueryCompileError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryCompileError(QueryCompileError)
.- Parameters:
queryCompileError
- a consumer that will call methods onQueryCompileError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queryCompileError(QueryCompileError)
-
awsErrorDetails
MalformedQueryException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceCloudWatchLogsException.Builder
-
message
MalformedQueryException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceCloudWatchLogsException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
MalformedQueryException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceCloudWatchLogsException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
MalformedQueryException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceCloudWatchLogsException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
MalformedQueryException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceCloudWatchLogsException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
MalformedQueryException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceCloudWatchLogsException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-