Interface GetSampledRequestsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>, SdkBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>, SdkPojo, SdkResponse.Builder, WafResponse.Builder
Enclosing class:
GetSampledRequestsResponse

public static interface GetSampledRequestsResponse.Builder extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>
  • Method Details

    • sampledRequests

      A complex type that contains detailed information about each of the requests in the sample.

      Parameters:
      sampledRequests - A complex type that contains detailed information about each of the requests in the sample.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampledRequests

      GetSampledRequestsResponse.Builder sampledRequests(SampledHTTPRequest... sampledRequests)

      A complex type that contains detailed information about each of the requests in the sample.

      Parameters:
      sampledRequests - A complex type that contains detailed information about each of the requests in the sample.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampledRequests

      A complex type that contains detailed information about each of the requests in the sample.

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

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

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

      GetSampledRequestsResponse.Builder populationSize(Long populationSize)

      The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your AWS resource received during the specified time range.

      Parameters:
      populationSize - The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your AWS resource received during the specified time range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeWindow

      Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.

      Parameters:
      timeWindow - Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeWindow

      Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to timeWindow(TimeWindow).

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