#[non_exhaustive]pub struct TestConnectionOutputBuilder { /* private fields */ }
Expand description
A builder for TestConnectionOutput
.
Implementations§
source§impl TestConnectionOutputBuilder
impl TestConnectionOutputBuilder
sourcepub fn connector_id(self, input: impl Into<String>) -> Self
pub fn connector_id(self, input: impl Into<String>) -> Self
Returns the identifier of the connector object that you are testing.
sourcepub fn set_connector_id(self, input: Option<String>) -> Self
pub fn set_connector_id(self, input: Option<String>) -> Self
Returns the identifier of the connector object that you are testing.
sourcepub fn get_connector_id(&self) -> &Option<String>
pub fn get_connector_id(&self) -> &Option<String>
Returns the identifier of the connector object that you are testing.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Returns OK
for successful test, or ERROR
if the test fails.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Returns OK
for successful test, or ERROR
if the test fails.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
Returns OK
for successful test, or ERROR
if the test fails.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
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.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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.
sourcepub fn build(self) -> TestConnectionOutput
pub fn build(self) -> TestConnectionOutput
Consumes the builder and constructs a TestConnectionOutput
.
Trait Implementations§
source§impl Clone for TestConnectionOutputBuilder
impl Clone for TestConnectionOutputBuilder
source§fn clone(&self) -> TestConnectionOutputBuilder
fn clone(&self) -> TestConnectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestConnectionOutputBuilder
impl Debug for TestConnectionOutputBuilder
source§impl Default for TestConnectionOutputBuilder
impl Default for TestConnectionOutputBuilder
source§fn default() -> TestConnectionOutputBuilder
fn default() -> TestConnectionOutputBuilder
source§impl PartialEq for TestConnectionOutputBuilder
impl PartialEq for TestConnectionOutputBuilder
source§fn eq(&self, other: &TestConnectionOutputBuilder) -> bool
fn eq(&self, other: &TestConnectionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.