Class InsightSelector
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.InsightSelector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsightSelector.Builder,InsightSelector>
@Generated("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 or event data store.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInsightSelector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InsightSelector.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InsightTypeinsightType()The type of Insights events to log on a trail or event data store.StringinsightTypeAsString()The type of Insights events to log on a trail or event data store.List<SdkField<?>>sdkFields()static Class<? extends InsightSelector.Builder>serializableBuilderClass()InsightSelector.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
insightType
public final InsightType 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 that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights 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,
insightTypewill returnInsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightTypeAsString().- Returns:
- 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 that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful. - See Also:
InsightType
-
insightTypeAsString
public final String insightTypeAsString()
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 that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights 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,
insightTypewill returnInsightType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominsightTypeAsString().- Returns:
- 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 that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful. - See Also:
InsightType
-
toBuilder
public InsightSelector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsightSelector.Builder,InsightSelector>
-
builder
public static InsightSelector.Builder builder()
-
serializableBuilderClass
public static Class<? extends InsightSelector.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-