Struct aws_sdk_wafv2::types::VersionToPublish
source · #[non_exhaustive]pub struct VersionToPublish {
pub associated_rule_group_arn: Option<String>,
pub forecasted_lifetime: Option<i32>,
}
Expand description
A version of the named managed rule group, that the rule group's vendor publishes for use by customers.
This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets
, GetManagedRuleSet
, PutManagedRuleSetVersions
, and UpdateManagedRuleSetVersionExpiryDate
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.associated_rule_group_arn: Option<String>
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published managed rule group version.
forecasted_lifetime: Option<i32>
The amount of time the vendor expects this version of the managed rule group to last, in days.
Implementations§
source§impl VersionToPublish
impl VersionToPublish
sourcepub fn associated_rule_group_arn(&self) -> Option<&str>
pub fn associated_rule_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published managed rule group version.
sourcepub fn forecasted_lifetime(&self) -> Option<i32>
pub fn forecasted_lifetime(&self) -> Option<i32>
The amount of time the vendor expects this version of the managed rule group to last, in days.
source§impl VersionToPublish
impl VersionToPublish
sourcepub fn builder() -> VersionToPublishBuilder
pub fn builder() -> VersionToPublishBuilder
Creates a new builder-style object to manufacture VersionToPublish
.
Trait Implementations§
source§impl Clone for VersionToPublish
impl Clone for VersionToPublish
source§fn clone(&self) -> VersionToPublish
fn clone(&self) -> VersionToPublish
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VersionToPublish
impl Debug for VersionToPublish
source§impl PartialEq for VersionToPublish
impl PartialEq for VersionToPublish
source§fn eq(&self, other: &VersionToPublish) -> bool
fn eq(&self, other: &VersionToPublish) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VersionToPublish
Auto Trait Implementations§
impl Freeze for VersionToPublish
impl RefUnwindSafe for VersionToPublish
impl Send for VersionToPublish
impl Sync for VersionToPublish
impl Unpin for VersionToPublish
impl UnwindSafe for VersionToPublish
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more