Interface ListMonitoredResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMonitoredResourcesResponse.Builder,ListMonitoredResourcesResponse>,DevOpsGuruResponse.Builder,SdkBuilder<ListMonitoredResourcesResponse.Builder,ListMonitoredResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMonitoredResourcesResponse
public static interface ListMonitoredResourcesResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<ListMonitoredResourcesResponse.Builder,ListMonitoredResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMonitoredResourcesResponse.BuildermonitoredResourceIdentifiers(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.ListMonitoredResourcesResponse.BuildermonitoredResourceIdentifiers(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.ListMonitoredResourcesResponse.BuildermonitoredResourceIdentifiers(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.ListMonitoredResourcesResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaMonitoredResourceIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#monitoredResourceIdentifiers(List.) - 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:
#monitoredResourceIdentifiers(java.util.Collection)
-
nextToken
ListMonitoredResourcesResponse.Builder nextToken(String 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.
-
-