@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightSelector extends Object implements Serializable, Cloneable, StructuredPojo
A JSON string that contains a list of insight types that are logged on a trail.
| Constructor and Description |
|---|
InsightSelector() |
| Modifier and Type | Method and Description |
|---|---|
InsightSelector |
clone() |
boolean |
equals(Object obj) |
String |
getInsightType()
The type of insights to log on a trail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInsightType(String insightType)
The type of insights to log on a trail.
|
String |
toString()
Returns a string representation of this object.
|
InsightSelector |
withInsightType(InsightType insightType)
The type of insights to log on a trail.
|
InsightSelector |
withInsightType(String insightType)
The type of insights to log on a trail.
|
public void setInsightType(String insightType)
The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
insightType - The type of insights to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid insight types.InsightTypepublic String getInsightType()
The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
ApiCallRateInsight and
ApiErrorRateInsight are valid insight types.InsightTypepublic InsightSelector withInsightType(String insightType)
The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
insightType - The type of insights to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid insight types.InsightTypepublic InsightSelector withInsightType(InsightType insightType)
The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are
valid insight types.
insightType - The type of insights to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid insight types.InsightTypepublic String toString()
toString in class ObjectObject.toString()public InsightSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.