@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEventDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEventDestinationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CloudWatchLogsDestination |
getCloudWatchLogsDestination()
An object that contains information about an event destination that sends data to CloudWatch Logs.
|
String |
getConfigurationSetName()
The configuration set to update with the new event destination.
|
Boolean |
getEnabled()
When set to true logging is enabled.
|
String |
getEventDestinationName()
The name to use for the event destination.
|
KinesisFirehoseDestination |
getKinesisFirehoseDestination()
An object that contains information about an event destination for logging to Firehose.
|
List<String> |
getMatchingEventTypes()
An array of event types that determine which events to log.
|
SnsDestination |
getSnsDestination()
An object that contains information about an event destination that sends data to Amazon SNS.
|
int |
hashCode() |
Boolean |
isEnabled()
When set to true logging is enabled.
|
void |
setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination that sends data to CloudWatch Logs.
|
void |
setConfigurationSetName(String configurationSetName)
The configuration set to update with the new event destination.
|
void |
setEnabled(Boolean enabled)
When set to true logging is enabled.
|
void |
setEventDestinationName(String eventDestinationName)
The name to use for the event destination.
|
void |
setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Firehose.
|
void |
setMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log.
|
void |
setSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination that sends data to Amazon SNS.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEventDestinationRequest |
withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination that sends data to CloudWatch Logs.
|
UpdateEventDestinationRequest |
withConfigurationSetName(String configurationSetName)
The configuration set to update with the new event destination.
|
UpdateEventDestinationRequest |
withEnabled(Boolean enabled)
When set to true logging is enabled.
|
UpdateEventDestinationRequest |
withEventDestinationName(String eventDestinationName)
The name to use for the event destination.
|
UpdateEventDestinationRequest |
withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Firehose.
|
UpdateEventDestinationRequest |
withMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log.
|
UpdateEventDestinationRequest |
withMatchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log.
|
UpdateEventDestinationRequest |
withMatchingEventTypes(String... matchingEventTypes)
An array of event types that determine which events to log.
|
UpdateEventDestinationRequest |
withSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination that sends data to Amazon SNS.
|
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 setConfigurationSetName(String configurationSetName)
The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.
configurationSetName
- The configuration set to update with the new event destination. Valid values for this can be the
ConfigurationSetName or ConfigurationSetArn.public String getConfigurationSetName()
The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.
public UpdateEventDestinationRequest withConfigurationSetName(String configurationSetName)
The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.
configurationSetName
- The configuration set to update with the new event destination. Valid values for this can be the
ConfigurationSetName or ConfigurationSetArn.public void setEventDestinationName(String eventDestinationName)
The name to use for the event destination.
eventDestinationName
- The name to use for the event destination.public String getEventDestinationName()
The name to use for the event destination.
public UpdateEventDestinationRequest withEventDestinationName(String eventDestinationName)
The name to use for the event destination.
eventDestinationName
- The name to use for the event destination.public void setEnabled(Boolean enabled)
When set to true logging is enabled.
enabled
- When set to true logging is enabled.public Boolean getEnabled()
When set to true logging is enabled.
public UpdateEventDestinationRequest withEnabled(Boolean enabled)
When set to true logging is enabled.
enabled
- When set to true logging is enabled.public Boolean isEnabled()
When set to true logging is enabled.
public List<String> getMatchingEventTypes()
An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
The TEXT_SENT
event type is not supported.
EventType
public void setMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
EventType
public UpdateEventDestinationRequest withMatchingEventTypes(String... matchingEventTypes)
An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
NOTE: This method appends the values to the existing list (if any). Use
setMatchingEventTypes(java.util.Collection)
or withMatchingEventTypes(java.util.Collection)
if
you want to override the existing values.
matchingEventTypes
- An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
EventType
public UpdateEventDestinationRequest withMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
EventType
public UpdateEventDestinationRequest withMatchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
EventType
public void setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination that sends data to CloudWatch Logs.
cloudWatchLogsDestination
- An object that contains information about an event destination that sends data to CloudWatch Logs.public CloudWatchLogsDestination getCloudWatchLogsDestination()
An object that contains information about an event destination that sends data to CloudWatch Logs.
public UpdateEventDestinationRequest withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination that sends data to CloudWatch Logs.
cloudWatchLogsDestination
- An object that contains information about an event destination that sends data to CloudWatch Logs.public void setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Firehose.
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Firehose.public KinesisFirehoseDestination getKinesisFirehoseDestination()
An object that contains information about an event destination for logging to Firehose.
public UpdateEventDestinationRequest withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Firehose.
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Firehose.public void setSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination that sends data to Amazon SNS.
snsDestination
- An object that contains information about an event destination that sends data to Amazon SNS.public SnsDestination getSnsDestination()
An object that contains information about an event destination that sends data to Amazon SNS.
public UpdateEventDestinationRequest withSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination that sends data to Amazon SNS.
snsDestination
- An object that contains information about an event destination that sends data to Amazon SNS.public String toString()
toString
in class Object
Object.toString()
public UpdateEventDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()