@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. In this release, only
ApiCallRateInsight is supported as an insight type.
ApiCallRateInsight is supported as an insight type.public void setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.public PutInsightSelectorsRequest withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
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. In this release, only
ApiCallRateInsight is supported as an insight type.public PutInsightSelectorsRequest withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.public String toString()
toString in class ObjectObject.toString()public PutInsightSelectorsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.