@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsageStatisticsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetUsageStatisticsRequest() |
Modifier and Type | Method and Description |
---|---|
GetUsageStatisticsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetectorId()
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
|
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
String |
getUnit()
The currency unit you would like to view your usage statistics in.
|
UsageCriteria |
getUsageCriteria()
Represents the criteria used for querying usage.
|
String |
getUsageStatisticType()
The type of usage statistics to retrieve.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
void |
setUnit(String unit)
The currency unit you would like to view your usage statistics in.
|
void |
setUsageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
|
void |
setUsageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageStatisticsRequest |
withDetectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
|
GetUsageStatisticsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
GetUsageStatisticsRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
GetUsageStatisticsRequest |
withUnit(String unit)
The currency unit you would like to view your usage statistics in.
|
GetUsageStatisticsRequest |
withUsageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
|
GetUsageStatisticsRequest |
withUsageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
|
GetUsageStatisticsRequest |
withUsageStatisticType(UsageStatisticType usageStatisticType)
The type of usage statistics to retrieve.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDetectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
detectorId
- The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.public String getDetectorId()
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
public GetUsageStatisticsRequest withDetectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
detectorId
- The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.public void setUsageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
usageStatisticType
- The type of usage statistics to retrieve.UsageStatisticType
public String getUsageStatisticType()
The type of usage statistics to retrieve.
UsageStatisticType
public GetUsageStatisticsRequest withUsageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
usageStatisticType
- The type of usage statistics to retrieve.UsageStatisticType
public GetUsageStatisticsRequest withUsageStatisticType(UsageStatisticType usageStatisticType)
The type of usage statistics to retrieve.
usageStatisticType
- The type of usage statistics to retrieve.UsageStatisticType
public void setUsageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
usageCriteria
- Represents the criteria used for querying usage.public UsageCriteria getUsageCriteria()
Represents the criteria used for querying usage.
public GetUsageStatisticsRequest withUsageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
usageCriteria
- Represents the criteria used for querying usage.public void setUnit(String unit)
The currency unit you would like to view your usage statistics in. Current valid values are USD.
unit
- The currency unit you would like to view your usage statistics in. Current valid values are USD.public String getUnit()
The currency unit you would like to view your usage statistics in. Current valid values are USD.
public GetUsageStatisticsRequest withUnit(String unit)
The currency unit you would like to view your usage statistics in. Current valid values are USD.
unit
- The currency unit you would like to view your usage statistics in. Current valid values are USD.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public GetUsageStatisticsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.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.
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.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.
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.
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.public String toString()
toString
in class Object
Object.toString()
public GetUsageStatisticsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()