Interface ListMonitoredResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListMonitoredResourcesRequest.Builder,,ListMonitoredResourcesRequest> DevOpsGuruRequest.Builder,SdkBuilder<ListMonitoredResourcesRequest.Builder,,ListMonitoredResourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListMonitoredResourcesRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaListMonitoredResourcesFilters.builder().When the
Consumercompletes,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
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-