Interface ConnectPeerError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectPeerError.Builder,
,ConnectPeerError> SdkBuilder<ConnectPeerError.Builder,
,ConnectPeerError> SdkPojo
- Enclosing class:
ConnectPeerError
public static interface ConnectPeerError.Builder
extends SdkPojo, CopyableBuilder<ConnectPeerError.Builder,ConnectPeerError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code for the Connect peer request.code
(ConnectPeerErrorCode code) The error code for the Connect peer request.The message associated with the errorcode
.The ID of the Connect peer request.resourceArn
(String resourceArn) The ARN of the requested Connect peer resource.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
-
code
The error code for the Connect peer request.
- Parameters:
code
- The error code for the Connect peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The error code for the Connect peer request.
- Parameters:
code
- The error code for the Connect peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message associated with the error
code
.- Parameters:
message
- The message associated with the errorcode
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN of the requested Connect peer resource.
- Parameters:
resourceArn
- The ARN of the requested Connect peer resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
The ID of the Connect peer request.
- Parameters:
requestId
- The ID of the Connect peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-