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