Struct aws_sdk_ec2::operation::describe_public_ipv4_pools::builders::DescribePublicIpv4PoolsInputBuilder
source · #[non_exhaustive]pub struct DescribePublicIpv4PoolsInputBuilder { /* private fields */ }Expand description
A builder for DescribePublicIpv4PoolsInput.
Implementations§
source§impl DescribePublicIpv4PoolsInputBuilder
impl DescribePublicIpv4PoolsInputBuilder
sourcepub fn pool_ids(self, input: impl Into<String>) -> Self
pub fn pool_ids(self, input: impl Into<String>) -> Self
Appends an item to pool_ids.
To override the contents of this collection use set_pool_ids.
The IDs of the address pools.
sourcepub fn set_pool_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_pool_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the address pools.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
One or more filters.
-
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
One or more filters.
-
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
sourcepub fn build(self) -> Result<DescribePublicIpv4PoolsInput, BuildError>
pub fn build(self) -> Result<DescribePublicIpv4PoolsInput, BuildError>
Consumes the builder and constructs a DescribePublicIpv4PoolsInput.
Trait Implementations§
source§impl Clone for DescribePublicIpv4PoolsInputBuilder
impl Clone for DescribePublicIpv4PoolsInputBuilder
source§fn clone(&self) -> DescribePublicIpv4PoolsInputBuilder
fn clone(&self) -> DescribePublicIpv4PoolsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribePublicIpv4PoolsInputBuilder
impl Default for DescribePublicIpv4PoolsInputBuilder
source§fn default() -> DescribePublicIpv4PoolsInputBuilder
fn default() -> DescribePublicIpv4PoolsInputBuilder
source§impl PartialEq<DescribePublicIpv4PoolsInputBuilder> for DescribePublicIpv4PoolsInputBuilder
impl PartialEq<DescribePublicIpv4PoolsInputBuilder> for DescribePublicIpv4PoolsInputBuilder
source§fn eq(&self, other: &DescribePublicIpv4PoolsInputBuilder) -> bool
fn eq(&self, other: &DescribePublicIpv4PoolsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.