#[non_exhaustive]pub struct ProtectionGroupLimitsBuilder { /* private fields */ }
Expand description
A builder for ProtectionGroupLimits
.
Implementations§
source§impl ProtectionGroupLimitsBuilder
impl ProtectionGroupLimitsBuilder
sourcepub fn max_protection_groups(self, input: i64) -> Self
pub fn max_protection_groups(self, input: i64) -> Self
The maximum number of protection groups that you can have at one time.
This field is required.sourcepub fn set_max_protection_groups(self, input: Option<i64>) -> Self
pub fn set_max_protection_groups(self, input: Option<i64>) -> Self
The maximum number of protection groups that you can have at one time.
sourcepub fn get_max_protection_groups(&self) -> &Option<i64>
pub fn get_max_protection_groups(&self) -> &Option<i64>
The maximum number of protection groups that you can have at one time.
sourcepub fn pattern_type_limits(
self,
input: ProtectionGroupPatternTypeLimits
) -> Self
pub fn pattern_type_limits( self, input: ProtectionGroupPatternTypeLimits ) -> Self
Limits settings by pattern type in the protection groups for your subscription.
This field is required.sourcepub fn set_pattern_type_limits(
self,
input: Option<ProtectionGroupPatternTypeLimits>
) -> Self
pub fn set_pattern_type_limits( self, input: Option<ProtectionGroupPatternTypeLimits> ) -> Self
Limits settings by pattern type in the protection groups for your subscription.
sourcepub fn get_pattern_type_limits(
&self
) -> &Option<ProtectionGroupPatternTypeLimits>
pub fn get_pattern_type_limits( &self ) -> &Option<ProtectionGroupPatternTypeLimits>
Limits settings by pattern type in the protection groups for your subscription.
sourcepub fn build(self) -> ProtectionGroupLimits
pub fn build(self) -> ProtectionGroupLimits
Consumes the builder and constructs a ProtectionGroupLimits
.
Trait Implementations§
source§impl Clone for ProtectionGroupLimitsBuilder
impl Clone for ProtectionGroupLimitsBuilder
source§fn clone(&self) -> ProtectionGroupLimitsBuilder
fn clone(&self) -> ProtectionGroupLimitsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProtectionGroupLimitsBuilder
impl Debug for ProtectionGroupLimitsBuilder
source§impl Default for ProtectionGroupLimitsBuilder
impl Default for ProtectionGroupLimitsBuilder
source§fn default() -> ProtectionGroupLimitsBuilder
fn default() -> ProtectionGroupLimitsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProtectionGroupLimitsBuilder
impl PartialEq for ProtectionGroupLimitsBuilder
source§fn eq(&self, other: &ProtectionGroupLimitsBuilder) -> bool
fn eq(&self, other: &ProtectionGroupLimitsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProtectionGroupLimitsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ProtectionGroupLimitsBuilder
impl Send for ProtectionGroupLimitsBuilder
impl Sync for ProtectionGroupLimitsBuilder
impl Unpin for ProtectionGroupLimitsBuilder
impl UnwindSafe for ProtectionGroupLimitsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.