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 ==
.