@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 events 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 events to log on a trail.
|
String |
toString()
Returns a string representation of this object.
|
InsightSelector |
withInsightType(InsightType insightType)
The type of Insights events to log on a trail.
|
InsightSelector |
withInsightType(String insightType)
The type of Insights events to log on a trail.
|
public void setInsightType(String insightType)
The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.
insightType
- The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.InsightType
public String getInsightType()
The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.
ApiCallRateInsight
.InsightType
public InsightSelector withInsightType(String insightType)
The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.
insightType
- The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.InsightType
public InsightSelector withInsightType(InsightType insightType)
The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.
insightType
- The type of Insights events to log on a trail. The valid Insights type in this release is
ApiCallRateInsight
.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.