Interface ListInsightsMetricDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<ListInsightsMetricDataResponse.Builder,,ListInsightsMetricDataResponse> SdkBuilder<ListInsightsMetricDataResponse.Builder,,ListInsightsMetricDataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInsightsMetricDataResponse
-
Method Summary
Modifier and TypeMethodDescriptionOnly returned ifInsightTypeparameter was set toApiErrorRateInsight.The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.eventSource(String eventSource) The Amazon Web Services service to which the request was made, such asiam.amazonaws.comors3.amazonaws.com.insightType(String insightType) The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight.insightType(InsightType insightType) The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight.Only returned if the full results could not be returned in a single query.timestamps(Instant... timestamps) List of timestamps at intervals corresponding to the specified time period.timestamps(Collection<Instant> timestamps) List of timestamps at intervals corresponding to the specified time period.List of values representing the API call rate or error rate at each timestamp.values(Collection<Double> values) List of values representing the API call rate or error rate at each timestamp.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
eventSource
The Amazon Web Services service to which the request was made, such as
iam.amazonaws.comors3.amazonaws.com.- Parameters:
eventSource- The Amazon Web Services service to which the request was made, such asiam.amazonaws.comors3.amazonaws.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventName
The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.
- Parameters:
eventName- The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightType
The type of CloudTrail Insights event, which is either
ApiCallRateInsightorApiErrorRateInsight. TheApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsightInsights type analyzes management API calls that result in error codes.- Parameters:
insightType- The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight. TheApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsightInsights type analyzes management API calls that result in error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightType
The type of CloudTrail Insights event, which is either
ApiCallRateInsightorApiErrorRateInsight. TheApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsightInsights type analyzes management API calls that result in error codes.- Parameters:
insightType- The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight. TheApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsightInsights type analyzes management API calls that result in error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
Only returned if
InsightTypeparameter was set toApiErrorRateInsight.If returning metrics for the
ApiErrorRateInsightInsights type, this is the error to retrieve data for. For example,AccessDenied.- Parameters:
errorCode- Only returned ifInsightTypeparameter was set toApiErrorRateInsight.If returning metrics for the
ApiErrorRateInsightInsights type, this is the error to retrieve data for. For example,AccessDenied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
List of timestamps at intervals corresponding to the specified time period.
- Parameters:
timestamps- List of timestamps at intervals corresponding to the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
List of timestamps at intervals corresponding to the specified time period.
- Parameters:
timestamps- List of timestamps at intervals corresponding to the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.
- Parameters:
values- List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.
- Parameters:
values- List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Only returned if the full results could not be returned in a single query. You can set the
NextTokenparameter in the next request to this value to continue retrieval.- Parameters:
nextToken- Only returned if the full results could not be returned in a single query. You can set theNextTokenparameter in the next request to this value to continue retrieval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-