pub struct DiscoverConnectionProfile(/* private fields */);
Expand description
The request builder for Datastream::discover_connection_profile calls.
§Example
use builder::datastream::DiscoverConnectionProfile;
let builder = prepare_request_builder();
let response = builder.send().await?;
fn prepare_request_builder() -> DiscoverConnectionProfile {
// ... details omitted ...
}
Implementations§
Source§impl DiscoverConnectionProfile
impl DiscoverConnectionProfile
Sourcepub fn with_request<V: Into<DiscoverConnectionProfileRequest>>(
self,
v: V,
) -> Self
pub fn with_request<V: Into<DiscoverConnectionProfileRequest>>( self, v: V, ) -> Self
Sets the full request, replacing any prior values.
Sourcepub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
pub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
Sets all the options, replacing any prior values.
Sourcepub async fn send(self) -> Result<DiscoverConnectionProfileResponse>
pub async fn send(self) -> Result<DiscoverConnectionProfileResponse>
Sends the request.
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
This is a required field for requests.
Sourcepub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
pub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
Sets the value of target.
Note that all the setters affecting target
are
mutually exclusive.
Sourcepub fn set_connection_profile<T: Into<Box<ConnectionProfile>>>(
self,
v: T,
) -> Self
pub fn set_connection_profile<T: Into<Box<ConnectionProfile>>>( self, v: T, ) -> Self
Sets the value of target
to hold a ConnectionProfile
.
Note that all the setters affecting target
are
mutually exclusive.
Sourcepub fn set_connection_profile_name<T: Into<String>>(self, v: T) -> Self
pub fn set_connection_profile_name<T: Into<String>>(self, v: T) -> Self
Sets the value of target
to hold a ConnectionProfileName
.
Note that all the setters affecting target
are
mutually exclusive.
Sourcepub fn set_hierarchy<T: Into<Option<Hierarchy>>>(self, v: T) -> Self
pub fn set_hierarchy<T: Into<Option<Hierarchy>>>(self, v: T) -> Self
Sets the value of hierarchy.
Note that all the setters affecting hierarchy
are
mutually exclusive.
Sourcepub fn set_full_hierarchy<T: Into<bool>>(self, v: T) -> Self
pub fn set_full_hierarchy<T: Into<bool>>(self, v: T) -> Self
Sets the value of hierarchy
to hold a FullHierarchy
.
Note that all the setters affecting hierarchy
are
mutually exclusive.
Sourcepub fn set_hierarchy_depth<T: Into<i32>>(self, v: T) -> Self
pub fn set_hierarchy_depth<T: Into<i32>>(self, v: T) -> Self
Sets the value of hierarchy
to hold a HierarchyDepth
.
Note that all the setters affecting hierarchy
are
mutually exclusive.
Sourcepub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
pub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
Sets the value of data_object.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
pub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a OracleRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
pub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a MysqlRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
pub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a PostgresqlRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
pub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a SqlServerRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_salesforce_org<T: Into<Box<SalesforceOrg>>>(self, v: T) -> Self
pub fn set_salesforce_org<T: Into<Box<SalesforceOrg>>>(self, v: T) -> Self
Sets the value of data_object
to hold a SalesforceOrg
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn set_mongodb_cluster<T: Into<Box<MongodbCluster>>>(self, v: T) -> Self
pub fn set_mongodb_cluster<T: Into<Box<MongodbCluster>>>(self, v: T) -> Self
Sets the value of data_object
to hold a MongodbCluster
.
Note that all the setters affecting data_object
are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DiscoverConnectionProfile
impl Clone for DiscoverConnectionProfile
Source§fn clone(&self) -> DiscoverConnectionProfile
fn clone(&self) -> DiscoverConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DiscoverConnectionProfile
impl !RefUnwindSafe for DiscoverConnectionProfile
impl Send for DiscoverConnectionProfile
impl Sync for DiscoverConnectionProfile
impl Unpin for DiscoverConnectionProfile
impl !UnwindSafe for DiscoverConnectionProfile
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> RequestOptionsBuilder for Twhere
T: RequestBuilder,
impl<T> RequestOptionsBuilder for Twhere
T: RequestBuilder,
Source§fn with_idempotency(self, v: bool) -> T
fn with_idempotency(self, v: bool) -> T
v
is true
, treat the RPC underlying this method as idempotent.