@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEventDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEventDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEventDestinationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CloudWatchLogsDestination |
getCloudWatchLogsDestination()
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
|
String |
getConfigurationSetName()
Either the name of the configuration set or the configuration set ARN to apply event logging to.
|
String |
getEventDestinationName()
The name that identifies the event destination.
|
KinesisFirehoseDestination |
getKinesisFirehoseDestination()
An object that contains information about an event destination for logging to Amazon Data 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 for logging to Amazon SNS.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
|
void |
setConfigurationSetName(String configurationSetName)
Either the name of the configuration set or the configuration set ARN to apply event logging to.
|
void |
setEventDestinationName(String eventDestinationName)
The name that identifies the event destination.
|
void |
setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Data 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 for logging to Amazon SNS.
|
String |
toString()
Returns a string representation of this object.
|
CreateEventDestinationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateEventDestinationRequest |
withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
|
CreateEventDestinationRequest |
withConfigurationSetName(String configurationSetName)
Either the name of the configuration set or the configuration set ARN to apply event logging to.
|
CreateEventDestinationRequest |
withEventDestinationName(String eventDestinationName)
The name that identifies the event destination.
|
CreateEventDestinationRequest |
withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Data Firehose.
|
CreateEventDestinationRequest |
withMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log.
|
CreateEventDestinationRequest |
withMatchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log.
|
CreateEventDestinationRequest |
withMatchingEventTypes(String... matchingEventTypes)
An array of event types that determine which events to log.
|
CreateEventDestinationRequest |
withSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination for logging 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)
Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
configurationSetName
- Either the name of the configuration set or the configuration set ARN to apply event logging to. The
ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.public String getConfigurationSetName()
Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
public CreateEventDestinationRequest withConfigurationSetName(String configurationSetName)
Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
configurationSetName
- Either the name of the configuration set or the configuration set ARN to apply event logging to. The
ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.public void setEventDestinationName(String eventDestinationName)
The name that identifies the event destination.
eventDestinationName
- The name that identifies the event destination.public String getEventDestinationName()
The name that identifies the event destination.
public CreateEventDestinationRequest withEventDestinationName(String eventDestinationName)
The name that identifies the event destination.
eventDestinationName
- The name that identifies the event destination.public List<String> getMatchingEventTypes()
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
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. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging
SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
EventType
public CreateEventDestinationRequest withMatchingEventTypes(String... matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
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. If "ALL" is used, then AWS End User Messaging
SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
EventType
public CreateEventDestinationRequest withMatchingEventTypes(Collection<String> matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging
SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
EventType
public CreateEventDestinationRequest withMatchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging
SMS and Voice logs every event type.
The TEXT_SENT
event type is not supported.
EventType
public void setCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
cloudWatchLogsDestination
- An object that contains information about an event destination for logging to Amazon CloudWatch Logs.public CloudWatchLogsDestination getCloudWatchLogsDestination()
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
public CreateEventDestinationRequest withCloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
cloudWatchLogsDestination
- An object that contains information about an event destination for logging to Amazon CloudWatch Logs.public void setKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Data Firehose.
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Amazon Data Firehose.public KinesisFirehoseDestination getKinesisFirehoseDestination()
An object that contains information about an event destination for logging to Amazon Data Firehose.
public CreateEventDestinationRequest withKinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Data Firehose.
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Amazon Data Firehose.public void setSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination for logging to Amazon SNS.
snsDestination
- An object that contains information about an event destination for logging to Amazon SNS.public SnsDestination getSnsDestination()
An object that contains information about an event destination for logging to Amazon SNS.
public CreateEventDestinationRequest withSnsDestination(SnsDestination snsDestination)
An object that contains information about an event destination for logging to Amazon SNS.
snsDestination
- An object that contains information about an event destination for logging to Amazon SNS.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
public CreateEventDestinationRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't
specify a client token, a randomly generated token is used for the request to ensure idempotency.public String toString()
toString
in class Object
Object.toString()
public CreateEventDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()