Interface BatchPutPolicyAssignmentError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutPolicyAssignmentError.Builder,,BatchPutPolicyAssignmentError> SdkBuilder<BatchPutPolicyAssignmentError.Builder,,BatchPutPolicyAssignmentError> SdkPojo
- Enclosing class:
BatchPutPolicyAssignmentError
-
Method Summary
Modifier and TypeMethodDescriptionThe reason the entry failed.errorMessage(String errorMessage) A description of the error.principalArn(String principalArn) The ARN of the principal.Methods 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.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
principalArn
The ARN of the principal.
- Parameters:
principalArn- The ARN of the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The reason the entry failed. Possible values:
-
ValidationException– The entry is not valid. -
ResourceNotFoundException– The principal doesn't exist, or the policy was deleted while the request was being processed. -
ConflictException– The principal doesn't have the existing policy that you specified, or the assignment changed since the revision that you specified. -
ThrottlingException– The entry was throttled. You can retry this entry. -
InternalFailureException– An internal error occurred.
- Parameters:
errorCode- The reason the entry failed. Possible values:-
ValidationException– The entry is not valid. -
ResourceNotFoundException– The principal doesn't exist, or the policy was deleted while the request was being processed. -
ConflictException– The principal doesn't have the existing policy that you specified, or the assignment changed since the revision that you specified. -
ThrottlingException– The entry was throttled. You can retry this entry. -
InternalFailureException– An internal error occurred.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
errorMessage
A description of the error.
- Parameters:
errorMessage- A description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-