Struct aws_sdk_shield::model::protection_limits::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ProtectionLimits
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn protected_resource_type_limits(self, input: Limit) -> Self
pub fn protected_resource_type_limits(self, input: Limit) -> Self
Appends an item to protected_resource_type_limits
.
To override the contents of this collection use set_protected_resource_type_limits
.
The maximum number of resource types that you can specify in a protection.
sourcepub fn set_protected_resource_type_limits(
self,
input: Option<Vec<Limit>>
) -> Self
pub fn set_protected_resource_type_limits(
self,
input: Option<Vec<Limit>>
) -> Self
The maximum number of resource types that you can specify in a protection.
sourcepub fn build(self) -> ProtectionLimits
pub fn build(self) -> ProtectionLimits
Consumes the builder and constructs a ProtectionLimits
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more