Struct aws_sdk_shield::model::InclusionProtectionFilters
source · #[non_exhaustive]pub struct InclusionProtectionFilters { /* private fields */ }
Expand description
Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.
Implementations§
source§impl InclusionProtectionFilters
impl InclusionProtectionFilters
sourcepub fn resource_arns(&self) -> Option<&[String]>
pub fn resource_arns(&self) -> Option<&[String]>
The ARN (Amazon Resource Name) of the resource whose protection you want to retrieve.
sourcepub fn protection_names(&self) -> Option<&[String]>
pub fn protection_names(&self) -> Option<&[String]>
The name of the protection that you want to retrieve.
sourcepub fn resource_types(&self) -> Option<&[ProtectedResourceType]>
pub fn resource_types(&self) -> Option<&[ProtectedResourceType]>
The type of protected resource whose protections you want to retrieve.
source§impl InclusionProtectionFilters
impl InclusionProtectionFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InclusionProtectionFilters
.
Trait Implementations§
source§impl Clone for InclusionProtectionFilters
impl Clone for InclusionProtectionFilters
source§fn clone(&self) -> InclusionProtectionFilters
fn clone(&self) -> InclusionProtectionFilters
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 InclusionProtectionFilters
impl Debug for InclusionProtectionFilters
source§impl PartialEq<InclusionProtectionFilters> for InclusionProtectionFilters
impl PartialEq<InclusionProtectionFilters> for InclusionProtectionFilters
source§fn eq(&self, other: &InclusionProtectionFilters) -> bool
fn eq(&self, other: &InclusionProtectionFilters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.