@Generated(value="software.amazon.awssdk:codegen") public final class TestConnectionResponse extends TransferResponse implements ToCopyableBuilder<TestConnectionResponse.Builder,TestConnectionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestConnectionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TestConnectionResponse.Builder |
builder() |
String |
connectorId()
Returns the identifier of the connector object that you are testing.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestConnectionResponse.Builder> |
serializableBuilderClass() |
String |
status()
Returns
OK for successful test, or ERROR if the test fails. |
String |
statusMessage()
Returns
Connection succeeded if the test is successful. |
TestConnectionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectorId()
Returns the identifier of the connector object that you are testing.
public final String status()
Returns OK for successful test, or ERROR if the test fails.
OK for successful test, or ERROR if the test fails.public final String statusMessage()
Returns Connection succeeded if the test is successful. Or, returns a descriptive error message if
the test fails. The following list provides troubleshooting details, depending on the error message that you
receive.
Verify that your secret name aligns with the one in Transfer Role permissions.
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Verify that the secret exists and is formatted correctly.
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 troubleshooting details, depending on the error
message that you receive.
Verify that your secret name aligns with the one in Transfer Role permissions.
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
Verify that the secret exists and is formatted correctly.
Verify that the trusted host key in the connector configuration matches the ssh-keyscan
output.
public TestConnectionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestConnectionResponse.Builder,TestConnectionResponse>toBuilder in class AwsResponsepublic static TestConnectionResponse.Builder builder()
public static Class<? extends TestConnectionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.