@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInsightSelectorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutInsightSelectorsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutInsightSelectorsRequest |
clone() |
boolean |
equals(Object obj) |
List<InsightSelector> |
getInsightSelectors()
A JSON string that contains the insight types you want to log on a trail.
|
String |
getTrailName()
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
int |
hashCode() |
void |
setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
void |
setTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
String |
toString()
Returns a string representation of this object.
|
PutInsightSelectorsRequest |
withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsRequest |
withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsRequest |
withTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
trailName - The name of the CloudTrail trail for which you want to change or add Insights selectors.public String getTrailName()
The name of the CloudTrail trail for which you want to change or add Insights selectors.
public PutInsightSelectorsRequest withTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
trailName - The name of the CloudTrail trail for which you want to change or add Insights selectors.public List<InsightSelector> getInsightSelectors()
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
ApiCallRateInsight
and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
public void setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
public PutInsightSelectorsRequest withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
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. ApiCallRateInsight
and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
public PutInsightSelectorsRequest withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated
per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The
error is shown if the API call is unsuccessful.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
public String toString()
toString in class ObjectObject.toString()public PutInsightSelectorsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.