#[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-keyscanoutput.
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-keyscanoutput.
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-keyscanoutput.
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 ==.impl StructuralPartialEq for TestConnectionOutputBuilder
Auto Trait Implementations§
impl Freeze for TestConnectionOutputBuilder
impl RefUnwindSafe for TestConnectionOutputBuilder
impl Send for TestConnectionOutputBuilder
impl Sync for TestConnectionOutputBuilder
impl Unpin for TestConnectionOutputBuilder
impl UnwindSafe for TestConnectionOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more