public static interface TestConnectionResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<TestConnectionResponse.Builder,TestConnectionResponse>
| Modifier and Type | Method and Description |
|---|---|
TestConnectionResponse.Builder |
connectorId(String connectorId)
Returns the identifier of the connector object that you are testing.
|
TestConnectionResponse.Builder |
status(String status)
Returns
OK for successful test, or ERROR if the test fails. |
TestConnectionResponse.Builder |
statusMessage(String statusMessage)
Returns
Connection succeeded if the test is successful. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestConnectionResponse.Builder connectorId(String connectorId)
Returns the identifier of the connector object that you are testing.
connectorId - Returns the identifier of the connector object that you are testing.TestConnectionResponse.Builder status(String status)
Returns OK for successful test, or ERROR if the test fails.
status - Returns OK for successful test, or ERROR if the test fails.TestConnectionResponse.Builder statusMessage(String statusMessage)
Returns Connection succeeded if the test is successful. Or, returns a descriptive error message
if the test fails. The following list provides the details for some error messages and troubleshooting steps
for each.
Unable to access secrets manager: Verify that your secret name aligns with the one in Transfer Role permissions.
Unknown Host/Connection failed: Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Private key not found: Verify that the secret exists and is formatted correctly.
Invalid trusted host keys: Verify that the trusted host key in the connector configuration matches the
ssh-keyscan output.
statusMessage - Returns Connection succeeded if the test is successful. Or, returns a descriptive error
message if the test fails. The following list provides the details for some error messages and
troubleshooting steps for each.
Unable to access secrets manager: Verify that your secret name aligns with the one in Transfer Role permissions.
Unknown Host/Connection failed: Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Private key not found: Verify that the secret exists and is formatted correctly.
Invalid trusted host keys: Verify that the trusted host key in the connector configuration
matches the ssh-keyscan output.
Copyright © 2023. All rights reserved.