Interface ListMonitoredResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMonitoredResourcesResponse.Builder,
,ListMonitoredResourcesResponse> DevOpsGuruResponse.Builder
,SdkBuilder<ListMonitoredResourcesResponse.Builder,
,ListMonitoredResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMonitoredResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionmonitoredResourceIdentifiers
(Collection<MonitoredResourceIdentifier> monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.monitoredResourceIdentifiers
(Consumer<MonitoredResourceIdentifier.Builder>... monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.monitoredResourceIdentifiers
(MonitoredResourceIdentifier... monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.The pagination token to use to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
monitoredResourceIdentifiers
ListMonitoredResourcesResponse.Builder monitoredResourceIdentifiers(Collection<MonitoredResourceIdentifier> monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
- Parameters:
monitoredResourceIdentifiers
- Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoredResourceIdentifiers
ListMonitoredResourcesResponse.Builder monitoredResourceIdentifiers(MonitoredResourceIdentifier... monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
- Parameters:
monitoredResourceIdentifiers
- Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoredResourceIdentifiers
ListMonitoredResourcesResponse.Builder monitoredResourceIdentifiers(Consumer<MonitoredResourceIdentifier.Builder>... monitoredResourceIdentifiers) Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
This is a convenience method that creates an instance of theMonitoredResourceIdentifier.Builder
avoiding the need to create one manually viaMonitoredResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoredResourceIdentifiers(List<MonitoredResourceIdentifier>)
.- Parameters:
monitoredResourceIdentifiers
- a consumer that will call methods onMonitoredResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-