Interface ListInsightsMetricDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<ListInsightsMetricDataResponse.Builder,ListInsightsMetricDataResponse>,SdkBuilder<ListInsightsMetricDataResponse.Builder,ListInsightsMetricDataResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInsightsMetricDataResponse
public static interface ListInsightsMetricDataResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<ListInsightsMetricDataResponse.Builder,ListInsightsMetricDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInsightsMetricDataResponse.BuildererrorCode(String errorCode)Only returned ifInsightTypeparameter was set toApiErrorRateInsight.ListInsightsMetricDataResponse.BuildereventName(String eventName)The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.ListInsightsMetricDataResponse.BuildereventSource(String eventSource)The Amazon Web Services service to which the request was made, such asiam.amazonaws.comors3.amazonaws.com.ListInsightsMetricDataResponse.BuilderinsightType(String insightType)The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight.ListInsightsMetricDataResponse.BuilderinsightType(InsightType insightType)The type of CloudTrail Insights event, which is eitherApiCallRateInsightorApiErrorRateInsight.ListInsightsMetricDataResponse.BuildernextToken(String nextToken)Only returned if the full results could not be returned in a single query.ListInsightsMetricDataResponse.Buildertimestamps(Instant... timestamps)List of timestamps at intervals corresponding to the specified time period.ListInsightsMetricDataResponse.Buildertimestamps(Collection<Instant> timestamps)List of timestamps at intervals corresponding to the specified time period.ListInsightsMetricDataResponse.Buildervalues(Double... values)List of values representing the API call rate or error rate at each timestamp.ListInsightsMetricDataResponse.Buildervalues(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 Detail
-
eventSource
ListInsightsMetricDataResponse.Builder eventSource(String 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
ListInsightsMetricDataResponse.Builder eventName(String 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
ListInsightsMetricDataResponse.Builder insightType(String 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,InsightType
-
insightType
ListInsightsMetricDataResponse.Builder insightType(InsightType 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,InsightType
-
errorCode
ListInsightsMetricDataResponse.Builder errorCode(String 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
ListInsightsMetricDataResponse.Builder timestamps(Collection<Instant> 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
ListInsightsMetricDataResponse.Builder timestamps(Instant... 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
ListInsightsMetricDataResponse.Builder values(Collection<Double> 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
ListInsightsMetricDataResponse.Builder values(Double... 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
ListInsightsMetricDataResponse.Builder nextToken(String 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.
-
-