@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEventSelectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutEventSelectorsResult() |
Modifier and Type | Method and Description |
---|---|
PutEventSelectorsResult |
clone() |
boolean |
equals(Object obj) |
List<EventSelector> |
getEventSelectors()
Specifies the event selectors configured for your trail.
|
String |
getTrailARN()
Specifies the ARN of the trail that was updated with event selectors.
|
int |
hashCode() |
void |
setEventSelectors(Collection<EventSelector> eventSelectors)
Specifies the event selectors configured for your trail.
|
void |
setTrailARN(String trailARN)
Specifies the ARN of the trail that was updated with event selectors.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutEventSelectorsResult |
withEventSelectors(Collection<EventSelector> eventSelectors)
Specifies the event selectors configured for your trail.
|
PutEventSelectorsResult |
withEventSelectors(EventSelector... eventSelectors)
Specifies the event selectors configured for your trail.
|
PutEventSelectorsResult |
withTrailARN(String trailARN)
Specifies the ARN of the trail that was updated with event selectors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTrailARN(String trailARN)
Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public String getTrailARN()
Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public PutEventSelectorsResult withTrailARN(String trailARN)
Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public List<EventSelector> getEventSelectors()
Specifies the event selectors configured for your trail.
public void setEventSelectors(Collection<EventSelector> eventSelectors)
Specifies the event selectors configured for your trail.
eventSelectors
- Specifies the event selectors configured for your trail.public PutEventSelectorsResult withEventSelectors(EventSelector... eventSelectors)
Specifies the event selectors configured for your trail.
NOTE: This method appends the values to the existing list (if any). Use
setEventSelectors(java.util.Collection)
or withEventSelectors(java.util.Collection)
if you want
to override the existing values.
eventSelectors
- Specifies the event selectors configured for your trail.public PutEventSelectorsResult withEventSelectors(Collection<EventSelector> eventSelectors)
Specifies the event selectors configured for your trail.
eventSelectors
- Specifies the event selectors configured for your trail.public String toString()
toString
in class Object
Object.toString()
public PutEventSelectorsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.