Interface GetFindingsTrendsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsTrendsV2Response.Builder,,GetFindingsTrendsV2Response> SdkBuilder<GetFindingsTrendsV2Response.Builder,,GetFindingsTrendsV2Response> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetFindingsTrendsV2Response
@Mutable
@NotThreadSafe
public static interface GetFindingsTrendsV2Response.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetFindingsTrendsV2Response.Builder,GetFindingsTrendsV2Response>
-
Method Summary
Modifier and TypeMethodDescriptiongranularity(String granularity) The time interval granularity for the returned trend data.granularity(GranularityField granularity) The time interval granularity for the returned trend data.The token to use for retrieving the next page of results, if more trend data is available.trendsMetrics(Collection<TrendsMetricsResult> trendsMetrics) The collection of time-series trend metrics, including counts of findings by severity across the specified time period.trendsMetrics(Consumer<TrendsMetricsResult.Builder>... trendsMetrics) The collection of time-series trend metrics, including counts of findings by severity across the specified time period.trendsMetrics(TrendsMetricsResult... trendsMetrics) The collection of time-series trend metrics, including counts of findings by severity across the specified time period.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
granularity
The time interval granularity for the returned trend data.
- Parameters:
granularity- The time interval granularity for the returned trend data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
The time interval granularity for the returned trend data.
- Parameters:
granularity- The time interval granularity for the returned trend data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trendsMetrics
The collection of time-series trend metrics, including counts of findings by severity across the specified time period.
- Parameters:
trendsMetrics- The collection of time-series trend metrics, including counts of findings by severity across the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trendsMetrics
The collection of time-series trend metrics, including counts of findings by severity across the specified time period.
- Parameters:
trendsMetrics- The collection of time-series trend metrics, including counts of findings by severity across the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trendsMetrics
GetFindingsTrendsV2Response.Builder trendsMetrics(Consumer<TrendsMetricsResult.Builder>... trendsMetrics) The collection of time-series trend metrics, including counts of findings by severity across the specified time period.
This is a convenience method that creates an instance of theTrendsMetricsResult.Builderavoiding the need to create one manually viaTrendsMetricsResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrendsMetrics(List<TrendsMetricsResult>).- Parameters:
trendsMetrics- a consumer that will call methods onTrendsMetricsResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for retrieving the next page of results, if more trend data is available.
- Parameters:
nextToken- The token to use for retrieving the next page of results, if more trend data is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-