@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.
ApiCallRateInsight
and ApiErrorRateInsight are valid insight types.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.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight are valid insight types.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.
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.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.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight
and ApiErrorRateInsight are valid insight types.public String toString()
toString in class ObjectObject.toString()public PutInsightSelectorsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.