Interface PhoneNumberError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PhoneNumberError.Builder,
,PhoneNumberError> SdkBuilder<PhoneNumberError.Builder,
,PhoneNumberError> SdkPojo
- Enclosing class:
PhoneNumberError
public static interface PhoneNumberError.Builder
extends SdkPojo, CopyableBuilder<PhoneNumberError.Builder,PhoneNumberError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code.The error code.errorMessage
(String errorMessage) The error message.phoneNumberId
(String phoneNumberId) The phone number ID for which the action failed.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, sdkFields
-
Method Details
-
phoneNumberId
The phone number ID for which the action failed.
- Parameters:
phoneNumberId
- The phone number ID for which the action failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code.
- Parameters:
errorCode
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code.
- Parameters:
errorCode
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message.
- Parameters:
errorMessage
- The error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-