Struct aws_sdk_codeguruprofiler::operation::list_profiling_groups::builders::ListProfilingGroupsInputBuilder
source · #[non_exhaustive]pub struct ListProfilingGroupsInputBuilder { /* private fields */ }
Expand description
A builder for ListProfilingGroupsInput
.
Implementations§
source§impl ListProfilingGroupsInputBuilder
impl ListProfilingGroupsInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous paginated ListProfilingGroups
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous paginated ListProfilingGroups
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value returned from a previous paginated ListProfilingGroups
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of profiling groups results returned by ListProfilingGroups
in paginated output. When this parameter is used, ListProfilingGroups
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfilingGroups
request 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 profiling groups results returned by ListProfilingGroups
in paginated output. When this parameter is used, ListProfilingGroups
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfilingGroups
request with the returned nextToken
value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of profiling groups results returned by ListProfilingGroups
in paginated output. When this parameter is used, ListProfilingGroups
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfilingGroups
request with the returned nextToken
value.
sourcepub fn include_description(self, input: bool) -> Self
pub fn include_description(self, input: bool) -> Self
A Boolean
value indicating whether to include a description. If true
, then a list of ProfilingGroupDescription
objects that contain detailed information about profiling groups is returned. If false
, then a list of profiling group names is returned.
sourcepub fn set_include_description(self, input: Option<bool>) -> Self
pub fn set_include_description(self, input: Option<bool>) -> Self
A Boolean
value indicating whether to include a description. If true
, then a list of ProfilingGroupDescription
objects that contain detailed information about profiling groups is returned. If false
, then a list of profiling group names is returned.
sourcepub fn get_include_description(&self) -> &Option<bool>
pub fn get_include_description(&self) -> &Option<bool>
A Boolean
value indicating whether to include a description. If true
, then a list of ProfilingGroupDescription
objects that contain detailed information about profiling groups is returned. If false
, then a list of profiling group names is returned.
sourcepub fn build(self) -> Result<ListProfilingGroupsInput, BuildError>
pub fn build(self) -> Result<ListProfilingGroupsInput, BuildError>
Consumes the builder and constructs a ListProfilingGroupsInput
.
source§impl ListProfilingGroupsInputBuilder
impl ListProfilingGroupsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListProfilingGroupsOutput, SdkError<ListProfilingGroupsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListProfilingGroupsOutput, SdkError<ListProfilingGroupsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListProfilingGroupsInputBuilder
impl Clone for ListProfilingGroupsInputBuilder
source§fn clone(&self) -> ListProfilingGroupsInputBuilder
fn clone(&self) -> ListProfilingGroupsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListProfilingGroupsInputBuilder
impl Default for ListProfilingGroupsInputBuilder
source§fn default() -> ListProfilingGroupsInputBuilder
fn default() -> ListProfilingGroupsInputBuilder
source§impl PartialEq for ListProfilingGroupsInputBuilder
impl PartialEq for ListProfilingGroupsInputBuilder
source§fn eq(&self, other: &ListProfilingGroupsInputBuilder) -> bool
fn eq(&self, other: &ListProfilingGroupsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.