@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInsightSelectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutInsightSelectorsResult() |
Modifier and Type | Method and Description |
---|---|
PutInsightSelectorsResult |
clone() |
boolean |
equals(Object obj) |
List<InsightSelector> |
getInsightSelectors()
A JSON string that contains the Insights event types that you want to log on a trail.
|
String |
getTrailARN()
The Amazon Resource Name (ARN) of a 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 event types that you want to log on a trail.
|
void |
setTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
|
String |
toString()
Returns a string representation of this object.
|
PutInsightSelectorsResult |
withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail.
|
PutInsightSelectorsResult |
withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail.
|
PutInsightSelectorsResult |
withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.public String getTrailARN()
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
public PutInsightSelectorsResult withTrailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
trailARN
- The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.public List<InsightSelector> getInsightSelectors()
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in
this release are ApiErrorRateInsight
and ApiCallRateInsight
.
ApiErrorRateInsight
and ApiCallRateInsight
.public void setInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in
this release are ApiErrorRateInsight
and ApiCallRateInsight
.
insightSelectors
- A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight
and ApiCallRateInsight
.public PutInsightSelectorsResult withInsightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in
this release are ApiErrorRateInsight
and 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 event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight
and ApiCallRateInsight
.public PutInsightSelectorsResult withInsightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in
this release are ApiErrorRateInsight
and ApiCallRateInsight
.
insightSelectors
- A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight
and ApiCallRateInsight
.public String toString()
toString
in class Object
Object.toString()
public PutInsightSelectorsResult clone()