Interface SubscriptionRequiredException.Builder
- All Superinterfaces:
AwsServiceException.Builder,BedrockAgentCoreException.Builder,Buildable,CopyableBuilder<SubscriptionRequiredException.Builder,,SubscriptionRequiredException> SdkBuilder<SubscriptionRequiredException.Builder,,SubscriptionRequiredException> SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- SubscriptionRequiredException
@Mutable
@NotThreadSafe
public static interface SubscriptionRequiredException.Builder
extends SdkPojo, CopyableBuilder<SubscriptionRequiredException.Builder,SubscriptionRequiredException>, BedrockAgentCoreException.Builder
-
Method Summary
Modifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) numAttempts(Integer numAttempts) productName(String productName) The name of the product that requires a Marketplace subscription.statusCode(int statusCode) subscriptionUrl(String subscriptionUrl) The URL to the Marketplace listing where you can subscribe.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
-
subscriptionUrl
The URL to the Marketplace listing where you can subscribe.
- Parameters:
subscriptionUrl- The URL to the Marketplace listing where you can subscribe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productName
The name of the product that requires a Marketplace subscription.
- Parameters:
productName- The name of the product that requires a Marketplace subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceBedrockAgentCoreException.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceBedrockAgentCoreException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceBedrockAgentCoreException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceBedrockAgentCoreException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceBedrockAgentCoreException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
- Specified by:
writableStackTracein interfaceBedrockAgentCoreException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceBedrockAgentCoreException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-