Interface InsightSelector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InsightSelector.Builder,,InsightSelector> SdkBuilder<InsightSelector.Builder,,InsightSelector> SdkPojo
- Enclosing class:
InsightSelector
-
Method Summary
Modifier and TypeMethodDescriptioneventCategories(Collection<SourceEventCategory> eventCategories) Select the event category on which Insights should be enabled.eventCategories(SourceEventCategory... eventCategories) Select the event category on which Insights should be enabled.eventCategoriesWithStrings(String... eventCategories) Select the event category on which Insights should be enabled.eventCategoriesWithStrings(Collection<String> eventCategories) Select the event category on which Insights should be enabled.insightType(String insightType) The type of Insights events to log on a trail or event data store.insightType(InsightType insightType) The type of Insights events to log on a trail or event data store.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, sdkFields
-
Method Details
-
insightType
The type of Insights events to log on a trail or event data store.
ApiCallRateInsightandApiErrorRateInsightare valid Insight types.The
ApiCallRateInsightInsights type analyzes write-only management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management and data API calls that result in error codes. The error is shown if the API call is unsuccessful.- Parameters:
insightType- The type of Insights events to log on a trail or event data store.ApiCallRateInsightandApiErrorRateInsightare valid Insight types.The
ApiCallRateInsightInsights type analyzes write-only management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management and data API calls that result in error codes. The error is shown if the API call is unsuccessful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightType
The type of Insights events to log on a trail or event data store.
ApiCallRateInsightandApiErrorRateInsightare valid Insight types.The
ApiCallRateInsightInsights type analyzes write-only management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management and data API calls that result in error codes. The error is shown if the API call is unsuccessful.- Parameters:
insightType- The type of Insights events to log on a trail or event data store.ApiCallRateInsightandApiErrorRateInsightare valid Insight types.The
ApiCallRateInsightInsights type analyzes write-only management API calls or read and write data API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management and data API calls that result in error codes. The error is shown if the API call is unsuccessful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventCategoriesWithStrings
Select the event category on which Insights should be enabled.
-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
- Parameters:
eventCategories- Select the event category on which Insights should be enabled.-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
eventCategoriesWithStrings
Select the event category on which Insights should be enabled.
-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
- Parameters:
eventCategories- Select the event category on which Insights should be enabled.-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
eventCategories
Select the event category on which Insights should be enabled.
-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
- Parameters:
eventCategories- Select the event category on which Insights should be enabled.-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
eventCategories
Select the event category on which Insights should be enabled.
-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
- Parameters:
eventCategories- Select the event category on which Insights should be enabled.-
If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
-
If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-