@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 insight 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 to log on a trail.
|
String |
insightTypeAsString()
The type of insights 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 to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
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.InsightTypepublic final String insightTypeAsString()
The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
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.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 © 2022. All rights reserved.