@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<AdvancedEventSelector> |
getAdvancedEventSelectors()
Specifies the advanced event selectors configured for your trail.
|
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 |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
|
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.
|
PutEventSelectorsResult |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
|
PutEventSelectorsResult |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
|
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 following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail that was updated with event selectors. The following is the format of a
trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public String getTrailARN()
Specifies the ARN of the trail that was updated with event selectors. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public PutEventSelectorsResult withTrailARN(String trailARN)
Specifies the ARN of the trail that was updated with event selectors. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail that was updated with event selectors. The following is the format of a
trail ARN.
arn:aws:cloudtrail:us-east-2: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 List<AdvancedEventSelector> getAdvancedEventSelectors()
Specifies the advanced event selectors configured for your trail.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
advancedEventSelectors
- Specifies the advanced event selectors configured for your trail.public PutEventSelectorsResult withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
NOTE: This method appends the values to the existing list (if any). Use
setAdvancedEventSelectors(java.util.Collection)
or
withAdvancedEventSelectors(java.util.Collection)
if you want to override the existing values.
advancedEventSelectors
- Specifies the advanced event selectors configured for your trail.public PutEventSelectorsResult withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
Specifies the advanced event selectors configured for your trail.
advancedEventSelectors
- Specifies the advanced event selectors configured for your trail.public String toString()
toString
in class Object
Object.toString()
public PutEventSelectorsResult clone()