Interface ListMonitoredResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListMonitoredResourcesRequest.Builder,
,ListMonitoredResourcesRequest> DevOpsGuruRequest.Builder
,SdkBuilder<ListMonitoredResourcesRequest.Builder,
,ListMonitoredResourcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListMonitoredResourcesRequest
@Mutable
@NotThreadSafe
public static interface ListMonitoredResourcesRequest.Builder
extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<ListMonitoredResourcesRequest.Builder,ListMonitoredResourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionFilters to determine which monitored resources you want to retrieve.filters
(ListMonitoredResourcesFilters filters) Filters to determine which monitored resources you want to retrieve.maxResults
(Integer maxResults) The maximum number of results to return with a single call.The pagination token to use to retrieve the next page of results for this operation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filters
Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
- Parameters:
filters
- Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListMonitoredResourcesRequest.Builder filters(Consumer<ListMonitoredResourcesFilters.Builder> filters) Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
This is a convenience method that creates an instance of theListMonitoredResourcesFilters.Builder
avoiding the need to create one manually viaListMonitoredResourcesFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ListMonitoredResourcesFilters)
.- Parameters:
filters
- a consumer that will call methods onListMonitoredResourcesFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.- Parameters:
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
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.
- Parameters:
nextToken
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListMonitoredResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListMonitoredResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-