/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.transfer.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class TestConnectionResult extends com.amazonaws.AmazonWebServiceResult
* Returns the identifier of the connector object that you are testing.
*
* Returns
* Returns
* 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
*
* Returns the identifier of the connector object that you are testing.
*
* Returns the identifier of the connector object that you are testing.
*
* Returns the identifier of the connector object that you are testing.
*
* Returns
* Returns
* Returns
* Returns
* 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
* OK
for successful test, or ERROR
if the test fails.
* 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.
*
*
*/
private String statusMessage;
/**
* ssh-keyscan
output.
* OK
for successful test, or ERROR
if the test fails.
* OK
for successful test, or ERROR
if the test fails.
*/
public void setStatus(String status) {
this.status = status;
}
/**
* OK
for successful test, or ERROR
if the test fails.
* OK
for successful test, or ERROR
if the test fails.
*/
public String getStatus() {
return this.status;
}
/**
* OK
for successful test, or ERROR
if the test fails.
* OK
for successful test, or ERROR
if the test fails.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TestConnectionResult withStatus(String status) {
setStatus(status);
return this;
}
/**
* 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.
*
*
*
* @param statusMessage
* Returns ssh-keyscan
output.
* 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.
*
* 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.
*
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.
*
* 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.
*
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.
*