Interface GetResourcesTrendsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetResourcesTrendsV2Request.Builder,,GetResourcesTrendsV2Request> SdkBuilder<GetResourcesTrendsV2Request.Builder,,GetResourcesTrendsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetResourcesTrendsV2Request
@Mutable
@NotThreadSafe
public static interface GetResourcesTrendsV2Request.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetResourcesTrendsV2Request.Builder,GetResourcesTrendsV2Request>
-
Method Summary
Modifier and TypeMethodDescriptionThe ending timestamp for the time period to analyze resources trends, in ISO 8601 format.filters(Consumer<ResourcesTrendsFilters.Builder> filters) The filters to apply to the resources trend data.filters(ResourcesTrendsFilters filters) The filters to apply to the resources trend data.maxResults(Integer maxResults) The maximum number of trend data points to return in a single response.The token to use for paginating results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The starting timestamp for the time period to analyze resources trends, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
filters
The filters to apply to the resources trend data.
- Parameters:
filters- The filters to apply to the resources trend data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default GetResourcesTrendsV2Request.Builder filters(Consumer<ResourcesTrendsFilters.Builder> filters) The filters to apply to the resources trend data.
This is a convenience method that creates an instance of theResourcesTrendsFilters.Builderavoiding the need to create one manually viaResourcesTrendsFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ResourcesTrendsFilters).- Parameters:
filters- a consumer that will call methods onResourcesTrendsFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The starting timestamp for the time period to analyze resources trends, in ISO 8601 format.
- Parameters:
startTime- The starting timestamp for the time period to analyze resources trends, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The ending timestamp for the time period to analyze resources trends, in ISO 8601 format.
- Parameters:
endTime- The ending timestamp for the time period to analyze resources trends, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use for paginating results. This value is returned in the response if more results are available.
- Parameters:
nextToken- The token to use for paginating results. This value is returned in the response if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of trend data points to return in a single response.
- Parameters:
maxResults- The maximum number of trend data points to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourcesTrendsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetResourcesTrendsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-