Struct aws_sdk_shield::model::protection_limits::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ProtectionLimits
.
Implementations§
source§impl 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
.