@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. In this release, only ApiCallRateInsight
is supported as an
insight type.
insightType
- The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported
as an insight type.InsightType
public String getInsightType()
The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported as an
insight type.
ApiCallRateInsight
is
supported as an insight type.InsightType
public InsightSelector withInsightType(String insightType)
The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported as an
insight type.
insightType
- The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported
as an insight type.InsightType
public InsightSelector withInsightType(InsightType insightType)
The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported as an
insight type.
insightType
- The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported
as an insight type.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.