Interface ListMonitoredResourcesResponse.Builder

  • 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 the MonitoredResourceIdentifier.Builder avoiding the need to create one manually via MonitoredResourceIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to monitoredResourceIdentifiers(List<MonitoredResourceIdentifier>).

      Parameters:
      monitoredResourceIdentifiers - a consumer that will call methods on MonitoredResourceIdentifier.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.