@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)
Marshalls this structured data using the given
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.InsightType
public 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.InsightType
public 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.InsightType
public 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.InsightType
public String toString()
toString
in class Object
Object.toString()
public InsightSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.