#[non_exhaustive]pub struct TestConnectionInputBuilder { /* private fields */ }Expand description
A builder for TestConnectionInput.
Implementations§
Source§impl TestConnectionInputBuilder
impl TestConnectionInputBuilder
Sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.
Sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.
Sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.
Sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The catalog ID where the connection resides.
Sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The catalog ID where the connection resides.
Sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The catalog ID where the connection resides.
Sourcepub fn test_connection_input(self, input: TestConnectionInput) -> Self
pub fn test_connection_input(self, input: TestConnectionInput) -> Self
A structure that is used to specify testing a connection to a service.
Sourcepub fn set_test_connection_input(
self,
input: Option<TestConnectionInput>,
) -> Self
pub fn set_test_connection_input( self, input: Option<TestConnectionInput>, ) -> Self
A structure that is used to specify testing a connection to a service.
Sourcepub fn get_test_connection_input(&self) -> &Option<TestConnectionInput>
pub fn get_test_connection_input(&self) -> &Option<TestConnectionInput>
A structure that is used to specify testing a connection to a service.
Sourcepub fn build(self) -> Result<TestConnectionInput, BuildError>
pub fn build(self) -> Result<TestConnectionInput, BuildError>
Consumes the builder and constructs a TestConnectionInput.
Source§impl TestConnectionInputBuilder
impl TestConnectionInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<TestConnectionOutput, SdkError<TestConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<TestConnectionOutput, SdkError<TestConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for TestConnectionInputBuilder
impl Clone for TestConnectionInputBuilder
Source§fn clone(&self) -> TestConnectionInputBuilder
fn clone(&self) -> TestConnectionInputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TestConnectionInputBuilder
impl Debug for TestConnectionInputBuilder
Source§impl Default for TestConnectionInputBuilder
impl Default for TestConnectionInputBuilder
Source§fn default() -> TestConnectionInputBuilder
fn default() -> TestConnectionInputBuilder
Source§impl PartialEq for TestConnectionInputBuilder
impl PartialEq for TestConnectionInputBuilder
Source§fn eq(&self, other: &TestConnectionInputBuilder) -> bool
fn eq(&self, other: &TestConnectionInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TestConnectionInputBuilder
Auto Trait Implementations§
impl Freeze for TestConnectionInputBuilder
impl RefUnwindSafe for TestConnectionInputBuilder
impl Send for TestConnectionInputBuilder
impl Sync for TestConnectionInputBuilder
impl Unpin for TestConnectionInputBuilder
impl UnsafeUnpin for TestConnectionInputBuilder
impl UnwindSafe for TestConnectionInputBuilder
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§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