Interface EffectivePolicyValidationError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EffectivePolicyValidationError.Builder,
,EffectivePolicyValidationError> SdkBuilder<EffectivePolicyValidationError.Builder,
,EffectivePolicyValidationError> SdkPojo
- Enclosing class:
EffectivePolicyValidationError
@Mutable
@NotThreadSafe
public static interface EffectivePolicyValidationError.Builder
extends SdkPojo, CopyableBuilder<EffectivePolicyValidationError.Builder,EffectivePolicyValidationError>
-
Method Summary
Modifier and TypeMethodDescriptioncontributingPolicies
(String... contributingPolicies) contributingPolicies
(Collection<String> contributingPolicies) The error code for the validation error.errorMessage
(String errorMessage) The error message for the validation error.pathToError
(String pathToError) The path within the effective policy where the validation error occurred.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.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
errorCode
The error code for the validation error. For example,
ELEMENTS_TOO_MANY
.- Parameters:
errorCode
- The error code for the validation error. For example,ELEMENTS_TOO_MANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The error message for the validation error.
- Parameters:
errorMessage
- The error message for the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathToError
The path within the effective policy where the validation error occurred.
- Parameters:
pathToError
- The path within the effective policy where the validation error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributingPolicies
EffectivePolicyValidationError.Builder contributingPolicies(Collection<String> contributingPolicies) -
contributingPolicies
-