#[non_exhaustive]pub struct PartnerIntegrationInfoBuilder { /* private fields */ }
Expand description
A builder for PartnerIntegrationInfo
.
Implementations§
source§impl PartnerIntegrationInfoBuilder
impl PartnerIntegrationInfoBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database that receives data from a partner.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database that receives data from a partner.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database that receives data from a partner.
sourcepub fn partner_name(self, input: impl Into<String>) -> Self
pub fn partner_name(self, input: impl Into<String>) -> Self
The name of the partner.
sourcepub fn set_partner_name(self, input: Option<String>) -> Self
pub fn set_partner_name(self, input: Option<String>) -> Self
The name of the partner.
sourcepub fn get_partner_name(&self) -> &Option<String>
pub fn get_partner_name(&self) -> &Option<String>
The name of the partner.
sourcepub fn status(self, input: PartnerIntegrationStatus) -> Self
pub fn status(self, input: PartnerIntegrationStatus) -> Self
The partner integration status.
sourcepub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
pub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
The partner integration status.
sourcepub fn get_status(&self) -> &Option<PartnerIntegrationStatus>
pub fn get_status(&self) -> &Option<PartnerIntegrationStatus>
The partner integration status.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message provided by the partner.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message provided by the partner.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message provided by the partner.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date (UTC) that the partner integration was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date (UTC) that the partner integration was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date (UTC) that the partner integration was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date (UTC) that the partner integration status was last updated by the partner.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date (UTC) that the partner integration status was last updated by the partner.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date (UTC) that the partner integration status was last updated by the partner.
sourcepub fn build(self) -> PartnerIntegrationInfo
pub fn build(self) -> PartnerIntegrationInfo
Consumes the builder and constructs a PartnerIntegrationInfo
.
Trait Implementations§
source§impl Clone for PartnerIntegrationInfoBuilder
impl Clone for PartnerIntegrationInfoBuilder
source§fn clone(&self) -> PartnerIntegrationInfoBuilder
fn clone(&self) -> PartnerIntegrationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PartnerIntegrationInfoBuilder
impl Default for PartnerIntegrationInfoBuilder
source§fn default() -> PartnerIntegrationInfoBuilder
fn default() -> PartnerIntegrationInfoBuilder
source§impl PartialEq for PartnerIntegrationInfoBuilder
impl PartialEq for PartnerIntegrationInfoBuilder
source§fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.