Struct aws_sdk_wafv2::operation::list_available_managed_rule_group_versions::builders::ListAvailableManagedRuleGroupVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListAvailableManagedRuleGroupVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListAvailableManagedRuleGroupVersionsOutput
.
Implementations§
source§impl ListAvailableManagedRuleGroupVersionsOutputBuilder
impl ListAvailableManagedRuleGroupVersionsOutputBuilder
sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn versions(self, input: ManagedRuleGroupVersion) -> Self
pub fn versions(self, input: ManagedRuleGroupVersion) -> Self
Appends an item to versions
.
To override the contents of this collection use set_versions
.
The versions that are currently available for the specified managed rule group. If you specified a Limit
in your request, this might not be the full list.
sourcepub fn set_versions(self, input: Option<Vec<ManagedRuleGroupVersion>>) -> Self
pub fn set_versions(self, input: Option<Vec<ManagedRuleGroupVersion>>) -> Self
The versions that are currently available for the specified managed rule group. If you specified a Limit
in your request, this might not be the full list.
sourcepub fn get_versions(&self) -> &Option<Vec<ManagedRuleGroupVersion>>
pub fn get_versions(&self) -> &Option<Vec<ManagedRuleGroupVersion>>
The versions that are currently available for the specified managed rule group. If you specified a Limit
in your request, this might not be the full list.
sourcepub fn current_default_version(self, input: impl Into<String>) -> Self
pub fn current_default_version(self, input: impl Into<String>) -> Self
The name of the version that's currently set as the default.
sourcepub fn set_current_default_version(self, input: Option<String>) -> Self
pub fn set_current_default_version(self, input: Option<String>) -> Self
The name of the version that's currently set as the default.
sourcepub fn get_current_default_version(&self) -> &Option<String>
pub fn get_current_default_version(&self) -> &Option<String>
The name of the version that's currently set as the default.
sourcepub fn build(self) -> ListAvailableManagedRuleGroupVersionsOutput
pub fn build(self) -> ListAvailableManagedRuleGroupVersionsOutput
Consumes the builder and constructs a ListAvailableManagedRuleGroupVersionsOutput
.
Trait Implementations§
source§impl Clone for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl Clone for ListAvailableManagedRuleGroupVersionsOutputBuilder
source§fn clone(&self) -> ListAvailableManagedRuleGroupVersionsOutputBuilder
fn clone(&self) -> ListAvailableManagedRuleGroupVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl Default for ListAvailableManagedRuleGroupVersionsOutputBuilder
source§fn default() -> ListAvailableManagedRuleGroupVersionsOutputBuilder
fn default() -> ListAvailableManagedRuleGroupVersionsOutputBuilder
source§impl PartialEq for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl PartialEq for ListAvailableManagedRuleGroupVersionsOutputBuilder
source§fn eq(&self, other: &ListAvailableManagedRuleGroupVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListAvailableManagedRuleGroupVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAvailableManagedRuleGroupVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl RefUnwindSafe for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl Send for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl Sync for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl Unpin for ListAvailableManagedRuleGroupVersionsOutputBuilder
impl UnwindSafe for ListAvailableManagedRuleGroupVersionsOutputBuilder
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