@Generated(value="software.amazon.awssdk:codegen") public final class InsightSelector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InsightSelector.Builder,InsightSelector>
A JSON string that contains a list of Insights types that are logged on a trail.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InsightSelector.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InsightSelector.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InsightType |
insightType()
The type of Insights events to log on a trail.
|
String |
insightTypeAsString()
The type of Insights events to log on a trail.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InsightSelector.Builder> |
serializableBuilderClass() |
InsightSelector.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InsightType insightType()
The type of Insights events to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
If the service returns an enum value that is not available in the current SDK version, insightType will
return InsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
insightTypeAsString().
ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
InsightTypepublic final String insightTypeAsString()
The type of Insights events to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
If the service returns an enum value that is not available in the current SDK version, insightType will
return InsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
insightTypeAsString().
ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
InsightTypepublic InsightSelector.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InsightSelector.Builder,InsightSelector>public static InsightSelector.Builder builder()
public static Class<? extends InsightSelector.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.