Interface BadGatewayException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,BedrockAgentRuntimeException.Builder
,Buildable
,CopyableBuilder<BadGatewayException.Builder,BadGatewayException>
,SdkBuilder<BadGatewayException.Builder,BadGatewayException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- BadGatewayException
public static interface BadGatewayException.Builder extends SdkPojo, CopyableBuilder<BadGatewayException.Builder,BadGatewayException>, BedrockAgentRuntimeException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BadGatewayException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
BadGatewayException.Builder
cause(Throwable cause)
BadGatewayException.Builder
message(String message)
BadGatewayException.Builder
numAttempts(Integer numAttempts)
BadGatewayException.Builder
requestId(String requestId)
BadGatewayException.Builder
resourceName(String resourceName)
The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.BadGatewayException.Builder
statusCode(int statusCode)
BadGatewayException.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, numAttempts, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
resourceName
BadGatewayException.Builder resourceName(String resourceName)
The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.
- Parameters:
resourceName
- The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
BadGatewayException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceBedrockAgentRuntimeException.Builder
-
message
BadGatewayException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
BadGatewayException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
BadGatewayException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
BadGatewayException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
BadGatewayException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
numAttempts
BadGatewayException.Builder numAttempts(Integer numAttempts)
- Specified by:
numAttempts
in interfaceAwsServiceException.Builder
- Specified by:
numAttempts
in interfaceBedrockAgentRuntimeException.Builder
- Specified by:
numAttempts
in interfaceSdkException.Builder
- Specified by:
numAttempts
in interfaceSdkServiceException.Builder
-
-