JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.waf.model

Class GetSampledRequestsResult

    • Constructor Detail

      • GetSampledRequestsResult

        public GetSampledRequestsResult()
    • Method Detail

      • getSampledRequests

        public List<SampledHTTPRequest> getSampledRequests()

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

        Returns:
        A complex type that contains detailed information about each of the requests in the sample.
      • setSampledRequests

        public void setSampledRequests(Collection<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.
      • withSampledRequests

        public GetSampledRequestsResult withSampledRequests(SampledHTTPRequest... sampledRequests)

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

        NOTE: This method appends the values to the existing list (if any). Use setSampledRequests(java.util.Collection) or withSampledRequests(java.util.Collection) if you want to override the existing values.

        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.
      • withSampledRequests

        public GetSampledRequestsResult withSampledRequests(Collection<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.
      • setPopulationSize

        public void setPopulationSize(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.
      • getPopulationSize

        public Long getPopulationSize()

        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:
        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.
      • withPopulationSize

        public GetSampledRequestsResult withPopulationSize(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.
      • setTimeWindow

        public void setTimeWindow(TimeWindow 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.
      • getTimeWindow

        public TimeWindow getTimeWindow()

        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:
        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.
      • withTimeWindow

        public GetSampledRequestsResult withTimeWindow(TimeWindow 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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /