Struct aws_sdk_ssm::operation::describe_instance_information::builders::DescribeInstanceInformationInputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceInformationInputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstanceInformationInput
.
Implementations§
source§impl DescribeInstanceInformationInputBuilder
impl DescribeInstanceInformationInputBuilder
sourcepub fn instance_information_filter_list(
self,
input: InstanceInformationFilter
) -> Self
pub fn instance_information_filter_list( self, input: InstanceInformationFilter ) -> Self
Appends an item to instance_information_filter_list
.
To override the contents of this collection use set_instance_information_filter_list
.
This is a legacy method. We recommend that you don't use this method. Instead, use the Filters
data type. Filters
enables you to return node information by filtering based on tags applied to managed nodes.
Attempting to use InstanceInformationFilterList
and Filters
leads to an exception error.
sourcepub fn set_instance_information_filter_list(
self,
input: Option<Vec<InstanceInformationFilter>>
) -> Self
pub fn set_instance_information_filter_list( self, input: Option<Vec<InstanceInformationFilter>> ) -> Self
This is a legacy method. We recommend that you don't use this method. Instead, use the Filters
data type. Filters
enables you to return node information by filtering based on tags applied to managed nodes.
Attempting to use InstanceInformationFilterList
and Filters
leads to an exception error.
sourcepub fn get_instance_information_filter_list(
&self
) -> &Option<Vec<InstanceInformationFilter>>
pub fn get_instance_information_filter_list( &self ) -> &Option<Vec<InstanceInformationFilter>>
This is a legacy method. We recommend that you don't use this method. Instead, use the Filters
data type. Filters
enables you to return node information by filtering based on tags applied to managed nodes.
Attempting to use InstanceInformationFilterList
and Filters
leads to an exception error.
sourcepub fn filters(self, input: InstanceInformationStringFilter) -> Self
pub fn filters(self, input: InstanceInformationStringFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters
data type instead of InstanceInformationFilterList
, which is deprecated.
sourcepub fn set_filters(
self,
input: Option<Vec<InstanceInformationStringFilter>>
) -> Self
pub fn set_filters( self, input: Option<Vec<InstanceInformationStringFilter>> ) -> Self
One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters
data type instead of InstanceInformationFilterList
, which is deprecated.
sourcepub fn get_filters(&self) -> &Option<Vec<InstanceInformationStringFilter>>
pub fn get_filters(&self) -> &Option<Vec<InstanceInformationStringFilter>>
One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters
data type instead of InstanceInformationFilterList
, which is deprecated.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items.
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 set of items to return. (You received this token from a previous call.)
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 set of items to return. (You received this token from a previous call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn build(self) -> Result<DescribeInstanceInformationInput, BuildError>
pub fn build(self) -> Result<DescribeInstanceInformationInput, BuildError>
Consumes the builder and constructs a DescribeInstanceInformationInput
.
source§impl DescribeInstanceInformationInputBuilder
impl DescribeInstanceInformationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeInstanceInformationOutput, SdkError<DescribeInstanceInformationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeInstanceInformationOutput, SdkError<DescribeInstanceInformationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeInstanceInformationInputBuilder
impl Clone for DescribeInstanceInformationInputBuilder
source§fn clone(&self) -> DescribeInstanceInformationInputBuilder
fn clone(&self) -> DescribeInstanceInformationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeInstanceInformationInputBuilder
impl Default for DescribeInstanceInformationInputBuilder
source§fn default() -> DescribeInstanceInformationInputBuilder
fn default() -> DescribeInstanceInformationInputBuilder
source§impl PartialEq for DescribeInstanceInformationInputBuilder
impl PartialEq for DescribeInstanceInformationInputBuilder
source§fn eq(&self, other: &DescribeInstanceInformationInputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceInformationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.