Struct aws_sdk_ssm::operation::get_inventory_schema::builders::GetInventorySchemaInputBuilder
source · #[non_exhaustive]pub struct GetInventorySchemaInputBuilder { /* private fields */ }
Expand description
A builder for GetInventorySchemaInput
.
Implementations§
source§impl GetInventorySchemaInputBuilder
impl GetInventorySchemaInputBuilder
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The type of inventory item to return.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The type of inventory item to return.
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 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.
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.
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.
sourcepub fn aggregator(self, input: bool) -> Self
pub fn aggregator(self, input: bool) -> Self
Returns inventory schemas that support aggregation. For example, this call returns the AWS:InstanceInformation
type, because it supports aggregation based on the PlatformName
, PlatformType
, and PlatformVersion
attributes.
sourcepub fn set_aggregator(self, input: Option<bool>) -> Self
pub fn set_aggregator(self, input: Option<bool>) -> Self
Returns inventory schemas that support aggregation. For example, this call returns the AWS:InstanceInformation
type, because it supports aggregation based on the PlatformName
, PlatformType
, and PlatformVersion
attributes.
sourcepub fn get_aggregator(&self) -> &Option<bool>
pub fn get_aggregator(&self) -> &Option<bool>
Returns inventory schemas that support aggregation. For example, this call returns the AWS:InstanceInformation
type, because it supports aggregation based on the PlatformName
, PlatformType
, and PlatformVersion
attributes.
sourcepub fn sub_type(self, input: bool) -> Self
pub fn sub_type(self, input: bool) -> Self
Returns the sub-type schema for a specified inventory type.
sourcepub fn set_sub_type(self, input: Option<bool>) -> Self
pub fn set_sub_type(self, input: Option<bool>) -> Self
Returns the sub-type schema for a specified inventory type.
sourcepub fn get_sub_type(&self) -> &Option<bool>
pub fn get_sub_type(&self) -> &Option<bool>
Returns the sub-type schema for a specified inventory type.
sourcepub fn build(self) -> Result<GetInventorySchemaInput, BuildError>
pub fn build(self) -> Result<GetInventorySchemaInput, BuildError>
Consumes the builder and constructs a GetInventorySchemaInput
.
source§impl GetInventorySchemaInputBuilder
impl GetInventorySchemaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetInventorySchemaOutput, SdkError<GetInventorySchemaError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetInventorySchemaOutput, SdkError<GetInventorySchemaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetInventorySchemaInputBuilder
impl Clone for GetInventorySchemaInputBuilder
source§fn clone(&self) -> GetInventorySchemaInputBuilder
fn clone(&self) -> GetInventorySchemaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetInventorySchemaInputBuilder
impl Default for GetInventorySchemaInputBuilder
source§fn default() -> GetInventorySchemaInputBuilder
fn default() -> GetInventorySchemaInputBuilder
source§impl PartialEq for GetInventorySchemaInputBuilder
impl PartialEq for GetInventorySchemaInputBuilder
source§fn eq(&self, other: &GetInventorySchemaInputBuilder) -> bool
fn eq(&self, other: &GetInventorySchemaInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.