#[non_exhaustive]pub struct AvailabilityConfigurationBuilder { /* private fields */ }
Expand description
A builder for AvailabilityConfiguration
.
Implementations§
source§impl AvailabilityConfigurationBuilder
impl AvailabilityConfigurationBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Displays the domain to which the provider applies.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Displays the domain to which the provider applies.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
Displays the domain to which the provider applies.
sourcepub fn provider_type(self, input: AvailabilityProviderType) -> Self
pub fn provider_type(self, input: AvailabilityProviderType) -> Self
Displays the provider type that applies to this domain.
sourcepub fn set_provider_type(self, input: Option<AvailabilityProviderType>) -> Self
pub fn set_provider_type(self, input: Option<AvailabilityProviderType>) -> Self
Displays the provider type that applies to this domain.
sourcepub fn get_provider_type(&self) -> &Option<AvailabilityProviderType>
pub fn get_provider_type(&self) -> &Option<AvailabilityProviderType>
Displays the provider type that applies to this domain.
sourcepub fn ews_provider(self, input: RedactedEwsAvailabilityProvider) -> Self
pub fn ews_provider(self, input: RedactedEwsAvailabilityProvider) -> Self
If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn set_ews_provider(
self,
input: Option<RedactedEwsAvailabilityProvider>
) -> Self
pub fn set_ews_provider( self, input: Option<RedactedEwsAvailabilityProvider> ) -> Self
If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn get_ews_provider(&self) -> &Option<RedactedEwsAvailabilityProvider>
pub fn get_ews_provider(&self) -> &Option<RedactedEwsAvailabilityProvider>
If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn lambda_provider(self, input: LambdaAvailabilityProvider) -> Self
pub fn lambda_provider(self, input: LambdaAvailabilityProvider) -> Self
If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn set_lambda_provider(
self,
input: Option<LambdaAvailabilityProvider>
) -> Self
pub fn set_lambda_provider( self, input: Option<LambdaAvailabilityProvider> ) -> Self
If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn get_lambda_provider(&self) -> &Option<LambdaAvailabilityProvider>
pub fn get_lambda_provider(&self) -> &Option<LambdaAvailabilityProvider>
If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn date_created(self, input: DateTime) -> Self
pub fn date_created(self, input: DateTime) -> Self
The date and time at which the availability configuration was created.
sourcepub fn set_date_created(self, input: Option<DateTime>) -> Self
pub fn set_date_created(self, input: Option<DateTime>) -> Self
The date and time at which the availability configuration was created.
sourcepub fn get_date_created(&self) -> &Option<DateTime>
pub fn get_date_created(&self) -> &Option<DateTime>
The date and time at which the availability configuration was created.
sourcepub fn date_modified(self, input: DateTime) -> Self
pub fn date_modified(self, input: DateTime) -> Self
The date and time at which the availability configuration was last modified.
sourcepub fn set_date_modified(self, input: Option<DateTime>) -> Self
pub fn set_date_modified(self, input: Option<DateTime>) -> Self
The date and time at which the availability configuration was last modified.
sourcepub fn get_date_modified(&self) -> &Option<DateTime>
pub fn get_date_modified(&self) -> &Option<DateTime>
The date and time at which the availability configuration was last modified.
sourcepub fn build(self) -> AvailabilityConfiguration
pub fn build(self) -> AvailabilityConfiguration
Consumes the builder and constructs a AvailabilityConfiguration
.
Trait Implementations§
source§impl Clone for AvailabilityConfigurationBuilder
impl Clone for AvailabilityConfigurationBuilder
source§fn clone(&self) -> AvailabilityConfigurationBuilder
fn clone(&self) -> AvailabilityConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AvailabilityConfigurationBuilder
impl Default for AvailabilityConfigurationBuilder
source§fn default() -> AvailabilityConfigurationBuilder
fn default() -> AvailabilityConfigurationBuilder
source§impl PartialEq for AvailabilityConfigurationBuilder
impl PartialEq for AvailabilityConfigurationBuilder
source§fn eq(&self, other: &AvailabilityConfigurationBuilder) -> bool
fn eq(&self, other: &AvailabilityConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AvailabilityConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AvailabilityConfigurationBuilder
impl RefUnwindSafe for AvailabilityConfigurationBuilder
impl Send for AvailabilityConfigurationBuilder
impl Sync for AvailabilityConfigurationBuilder
impl Unpin for AvailabilityConfigurationBuilder
impl UnwindSafe for AvailabilityConfigurationBuilder
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> 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