#[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
sourceimpl 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.
sourceimpl InclusionProtectionGroupFilters
impl InclusionProtectionGroupFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InclusionProtectionGroupFilters.
Trait Implementations
sourceimpl Clone for InclusionProtectionGroupFilters
impl Clone for InclusionProtectionGroupFilters
sourcefn clone(&self) -> InclusionProtectionGroupFilters
fn clone(&self) -> InclusionProtectionGroupFilters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<InclusionProtectionGroupFilters> for InclusionProtectionGroupFilters
impl PartialEq<InclusionProtectionGroupFilters> for InclusionProtectionGroupFilters
sourcefn eq(&self, other: &InclusionProtectionGroupFilters) -> bool
fn eq(&self, other: &InclusionProtectionGroupFilters) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for InclusionProtectionGroupFilters
Auto Trait Implementations
impl RefUnwindSafe for InclusionProtectionGroupFilters
impl Send for InclusionProtectionGroupFilters
impl Sync for InclusionProtectionGroupFilters
impl Unpin for InclusionProtectionGroupFilters
impl UnwindSafe for InclusionProtectionGroupFilters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more