Interface StartResourceActivitiesQueryRequest.Builder

  • Method Details

    • environmentArn

      StartResourceActivitiesQueryRequest.Builder environmentArn(String environmentArn)

      The ARN of the environment to query in.

      Parameters:
      environmentArn - The ARN of the environment to query in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The project to query in.

      Parameters:
      project - The project to query in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actorArn

      The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.

      Parameters:
      actorArn - The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The start of the time range to query, inclusive. The default is 24 hours before the request.

      Parameters:
      startTime - The start of the time range to query, inclusive. The default is 24 hours before the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end of the time range to query, exclusive. The default is the time of the request.

      Parameters:
      endTime - The end of the time range to query, exclusive. The default is the time of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationLevelsWithStrings

      StartResourceActivitiesQueryRequest.Builder aggregationLevelsWithStrings(Collection<String> aggregationLevels)

      The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Parameters:
      aggregationLevels - The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationLevelsWithStrings

      StartResourceActivitiesQueryRequest.Builder aggregationLevelsWithStrings(String... aggregationLevels)

      The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Parameters:
      aggregationLevels - The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationLevels

      The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Parameters:
      aggregationLevels - The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationLevels

      The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Parameters:
      aggregationLevels - The ways to group the results. By default, the results include every grouping. Valid values:

      • ACTION – Call counts for each AWS service and API action.

      • RESOURCE – Call counts for each resource.

      • SESSION – The agent sessions in the time range.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.

      Parameters:
      filters - The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.

      Parameters:
      filters - The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.

      This is a convenience method that creates an instance of the ResourceActivitiesFilter.Builder avoiding the need to create one manually via ResourceActivitiesFilter.builder().

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

      Parameters:
      filters - a consumer that will call methods on ResourceActivitiesFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.