pub struct Builder { /* private fields */ }
Expand description
A builder for ListMonitoredResourcesInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn filters(self, input: ListMonitoredResourcesFilters) -> Self
pub fn filters(self, input: ListMonitoredResourcesFilters) -> Self
Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
sourcepub fn set_filters(self, input: Option<ListMonitoredResourcesFilters>) -> Self
pub fn set_filters(self, input: Option<ListMonitoredResourcesFilters>) -> Self
Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn build(self) -> Result<ListMonitoredResourcesInput, BuildError>
pub fn build(self) -> Result<ListMonitoredResourcesInput, BuildError>
Consumes the builder and constructs a ListMonitoredResourcesInput
.