@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInsightSelectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInsightSelectorsResult() |
Modifier and Type | Method and Description |
---|---|
GetInsightSelectorsResult |
clone() |
boolean |
equals(Object obj) |
String |
getEventDataStoreArn()
The ARN of the source event data store that enabled Insights events.
|
String |
getInsightsDestination()
The ARN of the destination event data store that logs Insights events.
|
List<InsightSelector> |
getInsightSelectors()
A JSON string that contains the Insight types you want to log on a trail or event data store.
|
String |
getTrailARN()
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
|
int |
hashCode() |
void |
setEventDataStoreArn(String eventDataStoreArn)
The ARN of the source event data store that enabled Insights events.
|
void |
setInsightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
|
void |
setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
|
void |
setTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
|
String |
toString()
Returns a string representation of this object.
|
GetInsightSelectorsResult |
withEventDataStoreArn(String eventDataStoreArn)
The ARN of the source event data store that enabled Insights events.
|
GetInsightSelectorsResult |
withInsightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
|
GetInsightSelectorsResult |
withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
|
GetInsightSelectorsResult |
withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
|
GetInsightSelectorsResult |
withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.public String getTrailARN()
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
public GetInsightSelectorsResult withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.public List<InsightSelector> getInsightSelectors()
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.public void setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
insightSelectors
- A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.public GetInsightSelectorsResult withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
NOTE: This method appends the values to the existing list (if any). Use
setInsightSelectors(java.util.Collection)
or withInsightSelectors(java.util.Collection)
if you
want to override the existing values.
insightSelectors
- A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.public GetInsightSelectorsResult withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.
insightSelectors
- A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsight
and ApiCallRateInsight
are supported as Insights types.public void setEventDataStoreArn(String eventDataStoreArn)
The ARN of the source event data store that enabled Insights events.
eventDataStoreArn
- The ARN of the source event data store that enabled Insights events.public String getEventDataStoreArn()
The ARN of the source event data store that enabled Insights events.
public GetInsightSelectorsResult withEventDataStoreArn(String eventDataStoreArn)
The ARN of the source event data store that enabled Insights events.
eventDataStoreArn
- The ARN of the source event data store that enabled Insights events.public void setInsightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
insightsDestination
- The ARN of the destination event data store that logs Insights events.public String getInsightsDestination()
The ARN of the destination event data store that logs Insights events.
public GetInsightSelectorsResult withInsightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
insightsDestination
- The ARN of the destination event data store that logs Insights events.public String toString()
toString
in class Object
Object.toString()
public GetInsightSelectorsResult clone()