@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInsightSelectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutInsightSelectorsResult() |
Modifier and Type | Method and Description |
---|---|
PutInsightSelectorsResult |
clone() |
boolean |
equals(Object obj) |
String |
getEventDataStoreArn()
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
selectors.
|
String |
getInsightsDestination()
The ARN of the destination event data store that logs Insights events.
|
List<InsightSelector> |
getInsightSelectors()
A JSON string that contains the Insights event types that 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 change or add Insights selectors.
|
int |
hashCode() |
void |
setEventDataStoreArn(String eventDataStoreArn)
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
selectors.
|
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 Insights event types that 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 change or add Insights selectors.
|
String |
toString()
Returns a string representation of this object.
|
PutInsightSelectorsResult |
withEventDataStoreArn(String eventDataStoreArn)
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
selectors.
|
PutInsightSelectorsResult |
withInsightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
|
PutInsightSelectorsResult |
withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail or event data store.
|
PutInsightSelectorsResult |
withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail or event data store.
|
PutInsightSelectorsResult |
withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.public String getTrailARN()
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
public PutInsightSelectorsResult withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.public List<InsightSelector> getInsightSelectors()
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The
valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
ApiErrorRateInsight
and ApiCallRateInsight
.public void setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The
valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
insightSelectors
- A JSON string that contains the Insights event types that you want to log on a trail or event data store.
The valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.public PutInsightSelectorsResult withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The
valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
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 Insights event types that you want to log on a trail or event data store.
The valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.public PutInsightSelectorsResult withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail or event data store. The
valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.
insightSelectors
- A JSON string that contains the Insights event types that you want to log on a trail or event data store.
The valid Insights types are ApiErrorRateInsight
and ApiCallRateInsight
.public void setEventDataStoreArn(String eventDataStoreArn)
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
eventDataStoreArn
- The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
selectors.public String getEventDataStoreArn()
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
public PutInsightSelectorsResult withEventDataStoreArn(String eventDataStoreArn)
The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
eventDataStoreArn
- The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
selectors.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 PutInsightSelectorsResult 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 PutInsightSelectorsResult clone()