@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 InsightType insightType()
The type of insights to log on a trail. In this release, only ApiCallRateInsight is supported as an
insight type.
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 is
supported as an insight type.InsightTypepublic String insightTypeAsString()
The type of insights to log on a trail. In this release, only ApiCallRateInsight is supported as an
insight type.
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 is
supported as an insight type.InsightTypepublic InsightSelector.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InsightSelector.Builder,InsightSelector>public static InsightSelector.Builder builder()
public static Class<? extends InsightSelector.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.