Struct aws_sdk_shield::operation::list_protection_groups::builders::ListProtectionGroupsInputBuilder
source · #[non_exhaustive]pub struct ListProtectionGroupsInputBuilder { /* private fields */ }Expand description
A builder for ListProtectionGroupsInput.
Implementations§
source§impl ListProtectionGroupsInputBuilder
impl ListProtectionGroupsInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.
On your first call to a list operation, leave this setting empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.
On your first call to a list operation, leave this setting empty.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.
The default setting is 20.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken value in the response.
The default setting is 20.
sourcepub fn inclusion_filters(self, input: InclusionProtectionGroupFilters) -> Self
pub fn inclusion_filters(self, input: InclusionProtectionGroupFilters) -> Self
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 specific pattern or aggregation settings. 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.
sourcepub fn set_inclusion_filters(
self,
input: Option<InclusionProtectionGroupFilters>
) -> Self
pub fn set_inclusion_filters( self, input: Option<InclusionProtectionGroupFilters> ) -> Self
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 specific pattern or aggregation settings. 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.
sourcepub fn build(self) -> Result<ListProtectionGroupsInput, BuildError>
pub fn build(self) -> Result<ListProtectionGroupsInput, BuildError>
Consumes the builder and constructs a ListProtectionGroupsInput.
Trait Implementations§
source§impl Clone for ListProtectionGroupsInputBuilder
impl Clone for ListProtectionGroupsInputBuilder
source§fn clone(&self) -> ListProtectionGroupsInputBuilder
fn clone(&self) -> ListProtectionGroupsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListProtectionGroupsInputBuilder
impl Default for ListProtectionGroupsInputBuilder
source§fn default() -> ListProtectionGroupsInputBuilder
fn default() -> ListProtectionGroupsInputBuilder
source§impl PartialEq<ListProtectionGroupsInputBuilder> for ListProtectionGroupsInputBuilder
impl PartialEq<ListProtectionGroupsInputBuilder> for ListProtectionGroupsInputBuilder
source§fn eq(&self, other: &ListProtectionGroupsInputBuilder) -> bool
fn eq(&self, other: &ListProtectionGroupsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.