Interface GetUsageStatisticsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>,GuardDutyRequest.Builder,SdkBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetUsageStatisticsRequest
public static interface GetUsageStatisticsRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetUsageStatisticsRequest.BuilderdetectorId(String detectorId)The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.GetUsageStatisticsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.GetUsageStatisticsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.GetUsageStatisticsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetUsageStatisticsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetUsageStatisticsRequest.Builderunit(String unit)The currency unit you would like to view your usage statistics in.default GetUsageStatisticsRequest.BuilderusageCriteria(Consumer<UsageCriteria.Builder> usageCriteria)Represents the criteria used for querying usage.GetUsageStatisticsRequest.BuilderusageCriteria(UsageCriteria usageCriteria)Represents the criteria used for querying usage.GetUsageStatisticsRequest.BuilderusageStatisticType(String usageStatisticType)The type of usage statistics to retrieve.GetUsageStatisticsRequest.BuilderusageStatisticType(UsageStatisticType usageStatisticType)The type of usage statistics to retrieve.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
detectorId
GetUsageStatisticsRequest.Builder detectorId(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.
-
usageStatisticType
GetUsageStatisticsRequest.Builder usageStatisticType(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,UsageStatisticType
-
usageStatisticType
GetUsageStatisticsRequest.Builder usageStatisticType(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,UsageStatisticType
-
usageCriteria
GetUsageStatisticsRequest.Builder usageCriteria(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.
-
usageCriteria
default GetUsageStatisticsRequest.Builder usageCriteria(Consumer<UsageCriteria.Builder> usageCriteria)
Represents the criteria used for querying usage.
This is a convenience method that creates an instance of theUsageCriteria.Builderavoiding the need to create one manually viaUsageCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousageCriteria(UsageCriteria).- Parameters:
usageCriteria- a consumer that will call methods onUsageCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
usageCriteria(UsageCriteria)
-
unit
GetUsageStatisticsRequest.Builder unit(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.
-
maxResults
GetUsageStatisticsRequest.Builder maxResults(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.
-
nextToken
GetUsageStatisticsRequest.Builder nextToken(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.
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-