#[non_exhaustive]pub struct InclusionProtectionGroupFilters { /* private fields */ }
Expand description
Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with a specific pattern, aggregation, or resource type. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.
Implementations§
source§impl InclusionProtectionGroupFilters
impl InclusionProtectionGroupFilters
sourcepub fn protection_group_ids(&self) -> Option<&[String]>
pub fn protection_group_ids(&self) -> Option<&[String]>
The ID of the protection group that you want to retrieve.
sourcepub fn patterns(&self) -> Option<&[ProtectionGroupPattern]>
pub fn patterns(&self) -> Option<&[ProtectionGroupPattern]>
The pattern specification of the protection groups that you want to retrieve.
sourcepub fn resource_types(&self) -> Option<&[ProtectedResourceType]>
pub fn resource_types(&self) -> Option<&[ProtectedResourceType]>
The resource type configuration of the protection groups that you want to retrieve. In the protection group configuration, you specify the resource type when you set the group's Pattern
to BY_RESOURCE_TYPE
.
sourcepub fn aggregations(&self) -> Option<&[ProtectionGroupAggregation]>
pub fn aggregations(&self) -> Option<&[ProtectionGroupAggregation]>
The aggregation setting of the protection groups that you want to retrieve.
source§impl InclusionProtectionGroupFilters
impl InclusionProtectionGroupFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InclusionProtectionGroupFilters
.
Trait Implementations§
source§impl Clone for InclusionProtectionGroupFilters
impl Clone for InclusionProtectionGroupFilters
source§fn clone(&self) -> InclusionProtectionGroupFilters
fn clone(&self) -> InclusionProtectionGroupFilters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<InclusionProtectionGroupFilters> for InclusionProtectionGroupFilters
impl PartialEq<InclusionProtectionGroupFilters> for InclusionProtectionGroupFilters
source§fn eq(&self, other: &InclusionProtectionGroupFilters) -> bool
fn eq(&self, other: &InclusionProtectionGroupFilters) -> bool
self
and other
values to be equal, and is used
by ==
.