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
@Mutable
@NotThreadSafe
public static interface MalformedQueryException.Builder
extends SdkPojo, CopyableBuilder<MalformedQueryException.Builder,MalformedQueryException>, CloudWatchLogsException.Builder
-
Method Summary
Modifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) numAttempts(Integer numAttempts) default MalformedQueryException.BuilderqueryCompileError(Consumer<QueryCompileError.Builder> queryCompileError) Sets the value of the QueryCompileError property for this object.queryCompileError(QueryCompileError queryCompileError) Sets the value of the QueryCompileError property for this object.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
-
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.Builderavoiding the need to create one manually viaQueryCompileError.builder().When the
Consumercompletes,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:
-
awsErrorDetails
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceCloudWatchLogsException.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceCloudWatchLogsException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceCloudWatchLogsException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceCloudWatchLogsException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceCloudWatchLogsException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
- Specified by:
writableStackTracein interfaceCloudWatchLogsException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceCloudWatchLogsException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-