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 ifInsightType
parameter 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.com
ors3.amazonaws.com
.insightType
(String insightType) The type of CloudTrail Insights event, which is eitherApiCallRateInsight
orApiErrorRateInsight
.insightType
(InsightType insightType) The type of CloudTrail Insights event, which is eitherApiCallRateInsight
orApiErrorRateInsight
.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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.com
ors3.amazonaws.com
.- Parameters:
eventSource
- The Amazon Web Services service to which the request was made, such asiam.amazonaws.com
ors3.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
ApiCallRateInsight
orApiErrorRateInsight
. TheApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsight
Insights type analyzes management API calls that result in error codes.- Parameters:
insightType
- The type of CloudTrail Insights event, which is eitherApiCallRateInsight
orApiErrorRateInsight
. TheApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsight
Insights 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
ApiCallRateInsight
orApiErrorRateInsight
. TheApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsight
Insights type analyzes management API calls that result in error codes.- Parameters:
insightType
- The type of CloudTrail Insights event, which is eitherApiCallRateInsight
orApiErrorRateInsight
. TheApiCallRateInsight
Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. TheApiErrorRateInsight
Insights 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
InsightType
parameter was set toApiErrorRateInsight
.If returning metrics for the
ApiErrorRateInsight
Insights type, this is the error to retrieve data for. For example,AccessDenied
.- Parameters:
errorCode
- Only returned ifInsightType
parameter was set toApiErrorRateInsight
.If returning metrics for the
ApiErrorRateInsight
Insights 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
NextToken
parameter 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 theNextToken
parameter 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.
-