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.guardduty.model

Class GetUsageStatisticsRequest

    • Constructor Detail

      • GetUsageStatisticsRequest

        public GetUsageStatisticsRequest()
    • Method Detail

      • setDetectorId

        public void setDetectorId(String detectorId)

        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

        Parameters:
        detectorId - The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
      • getDetectorId

        public String getDetectorId()

        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

        Returns:
        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
      • withDetectorId

        public GetUsageStatisticsRequest withDetectorId(String detectorId)

        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

        Parameters:
        detectorId - The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUsageStatisticType

        public void setUsageStatisticType(String usageStatisticType)

        The type of usage statistics to retrieve.

        Parameters:
        usageStatisticType - The type of usage statistics to retrieve.
        See Also:
        UsageStatisticType
      • getUsageStatisticType

        public String getUsageStatisticType()

        The type of usage statistics to retrieve.

        Returns:
        The type of usage statistics to retrieve.
        See Also:
        UsageStatisticType
      • withUsageStatisticType

        public GetUsageStatisticsRequest withUsageStatisticType(String usageStatisticType)

        The type of usage statistics to retrieve.

        Parameters:
        usageStatisticType - The type of usage statistics to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageStatisticType
      • withUsageStatisticType

        public GetUsageStatisticsRequest withUsageStatisticType(UsageStatisticType usageStatisticType)

        The type of usage statistics to retrieve.

        Parameters:
        usageStatisticType - The type of usage statistics to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageStatisticType
      • setUsageCriteria

        public void setUsageCriteria(UsageCriteria usageCriteria)

        Represents the criteria used for querying usage.

        Parameters:
        usageCriteria - Represents the criteria used for querying usage.
      • getUsageCriteria

        public UsageCriteria getUsageCriteria()

        Represents the criteria used for querying usage.

        Returns:
        Represents the criteria used for querying usage.
      • withUsageCriteria

        public GetUsageStatisticsRequest withUsageCriteria(UsageCriteria usageCriteria)

        Represents the criteria used for querying usage.

        Parameters:
        usageCriteria - Represents the criteria used for querying usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUnit

        public void setUnit(String unit)

        The currency unit you would like to view your usage statistics in. Current valid values are USD.

        Parameters:
        unit - The currency unit you would like to view your usage statistics in. Current valid values are USD.
      • getUnit

        public String getUnit()

        The currency unit you would like to view your usage statistics in. Current valid values are USD.

        Returns:
        The currency unit you would like to view your usage statistics in. Current valid values are USD.
      • withUnit

        public GetUsageStatisticsRequest withUnit(String unit)

        The currency unit you would like to view your usage statistics in. Current valid values are USD.

        Parameters:
        unit - The currency unit you would like to view your usage statistics in. Current valid values are USD.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxResults

        public void setMaxResults(Integer maxResults)

        The maximum number of results to return in the response.

        Parameters:
        maxResults - The maximum number of results to return in the response.
      • getMaxResults

        public Integer getMaxResults()

        The maximum number of results to return in the response.

        Returns:
        The maximum number of results to return in the response.
      • withMaxResults

        public GetUsageStatisticsRequest withMaxResults(Integer maxResults)

        The maximum number of results to return in the response.

        Parameters:
        maxResults - The maximum number of results to return in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken(String nextToken)

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

        Parameters:
        nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
      • getNextToken

        public String getNextToken()

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

        Returns:
        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
      • withNextToken

        public GetUsageStatisticsRequest withNextToken(String nextToken)

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

        Parameters:
        nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
        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 によって変換されたページ (->オリジナル) /