@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventDataStore()
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors.
|
String |
getInsightsDestination()
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.
|
List<InsightSelector> |
getInsightSelectors()
A JSON string that contains the Insights types you want to log on a trail or event data store.
|
String |
getTrailName()
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
int |
hashCode() |
void |
setEventDataStore(String eventDataStore)
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors.
|
void |
setInsightsDestination(String insightsDestination)
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.
|
void |
setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights types you want to log on a trail or event data store.
|
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 |
withEventDataStore(String eventDataStore)
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors.
|
PutInsightSelectorsRequest |
withInsightsDestination(String insightsDestination)
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.
|
PutInsightSelectorsRequest |
withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights types you want to log on a trail or event data store.
|
PutInsightSelectorsRequest |
withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights types you want to log on a trail or event data store.
|
PutInsightSelectorsRequest |
withTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
trailName
- The name of the CloudTrail trail for which you want to change or add Insights selectors.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
public String getTrailName()
The name of the CloudTrail trail for which you want to change or add Insights selectors.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
public PutInsightSelectorsRequest withTrailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
trailName
- The name of the CloudTrail trail for which you want to change or add Insights selectors.
You cannot use this parameter with the EventDataStore
and InsightsDestination
parameters.
public List<InsightSelector> getInsightSelectors()
A JSON string that contains the Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 Insights types you want to log on a trail or event data store.
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 setEventDataStore(String eventDataStore)
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors. To enable Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
eventDataStore
- The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add
Insights selectors. To enable Insights on an event data store, you must provide both the
EventDataStore
and InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public String getEventDataStore()
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors. To enable Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
EventDataStore
and InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public PutInsightSelectorsRequest withEventDataStore(String eventDataStore)
The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
selectors. To enable Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
eventDataStore
- The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add
Insights selectors. To enable Insights on an event data store, you must provide both the
EventDataStore
and InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public void setInsightsDestination(String insightsDestination)
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable
Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
insightsDestination
- The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable
Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public String getInsightsDestination()
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable
Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public PutInsightSelectorsRequest withInsightsDestination(String insightsDestination)
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable
Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
insightsDestination
- The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable
Insights on an event data store, you must provide both the EventDataStore
and
InsightsDestination
parameters.
You cannot use this parameter with the TrailName
parameter.
public String toString()
toString
in class Object
Object.toString()
public PutInsightSelectorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()