Interface WafFeatureNotIncludedInPricingPlanException.Builder
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<WafFeatureNotIncludedInPricingPlanException.Builder,,WafFeatureNotIncludedInPricingPlanException> SdkBuilder<WafFeatureNotIncludedInPricingPlanException.Builder,,WafFeatureNotIncludedInPricingPlanException> SdkException.Builder,SdkPojo,SdkServiceException.Builder,Wafv2Exception.Builder
- Enclosing class:
- WafFeatureNotIncludedInPricingPlanException
@Mutable
@NotThreadSafe
public static interface WafFeatureNotIncludedInPricingPlanException.Builder
extends SdkPojo, CopyableBuilder<WafFeatureNotIncludedInPricingPlanException.Builder,WafFeatureNotIncludedInPricingPlanException>, Wafv2Exception.Builder
-
Method Summary
Modifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) disallowedFeatures(Collection<DisallowedFeature> disallowedFeatures) The names of the disallowed WAF features.disallowedFeatures(Consumer<DisallowedFeature.Builder>... disallowedFeatures) The names of the disallowed WAF features.disallowedFeatures(DisallowedFeature... disallowedFeatures) The names of the disallowed WAF features.numAttempts(Integer numAttempts) 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
-
disallowedFeatures
WafFeatureNotIncludedInPricingPlanException.Builder disallowedFeatures(Collection<DisallowedFeature> disallowedFeatures) The names of the disallowed WAF features.
- Parameters:
disallowedFeatures- The names of the disallowed WAF features.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disallowedFeatures
WafFeatureNotIncludedInPricingPlanException.Builder disallowedFeatures(DisallowedFeature... disallowedFeatures) The names of the disallowed WAF features.
- Parameters:
disallowedFeatures- The names of the disallowed WAF features.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disallowedFeatures
WafFeatureNotIncludedInPricingPlanException.Builder disallowedFeatures(Consumer<DisallowedFeature.Builder>... disallowedFeatures) The names of the disallowed WAF features.
This is a convenience method that creates an instance of theDisallowedFeature.Builderavoiding the need to create one manually viaDisallowedFeature.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisallowedFeatures(List<DisallowedFeature>).- Parameters:
disallowedFeatures- a consumer that will call methods onDisallowedFeature.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsErrorDetails
WafFeatureNotIncludedInPricingPlanException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails) - Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceWafv2Exception.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder- Specified by:
messagein interfaceWafv2Exception.Builder
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder- Specified by:
requestIdin interfaceWafv2Exception.Builder
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder- Specified by:
statusCodein interfaceWafv2Exception.Builder
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder- Specified by:
causein interfaceWafv2Exception.Builder
-
writableStackTrace
- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder- Specified by:
writableStackTracein interfaceWafv2Exception.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder- Specified by:
numAttemptsin interfaceWafv2Exception.Builder
-