Interface CreateEventDestinationRequest.Builder

    • Method Detail

      • configurationSetName

        CreateEventDestinationRequest.Builder configurationSetName​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventDestinationName

        CreateEventDestinationRequest.Builder eventDestinationName​(String eventDestinationName)

        The name that identifies the event destination.

        Parameters:
        eventDestinationName - The name that identifies the event destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypesWithStrings

        CreateEventDestinationRequest.Builder matchingEventTypesWithStrings​(Collection<String> matchingEventTypes)

        An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypesWithStrings

        CreateEventDestinationRequest.Builder matchingEventTypesWithStrings​(String... matchingEventTypes)

        An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

        CreateEventDestinationRequest.Builder matchingEventTypes​(Collection<EventType> matchingEventTypes)

        An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchingEventTypes

        CreateEventDestinationRequest.Builder matchingEventTypes​(EventType... matchingEventTypes)

        An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Parameters:
        matchingEventTypes - An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.

        The TEXT_SENT event type is not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloudWatchLogsDestination

        CreateEventDestinationRequest.Builder cloudWatchLogsDestination​(CloudWatchLogsDestination cloudWatchLogsDestination)

        An object that contains information about an event destination for logging to Amazon CloudWatch logs.

        Parameters:
        cloudWatchLogsDestination - An object that contains information about an event destination for logging to Amazon CloudWatch logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kinesisFirehoseDestination

        CreateEventDestinationRequest.Builder kinesisFirehoseDestination​(KinesisFirehoseDestination kinesisFirehoseDestination)

        An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.

        Parameters:
        kinesisFirehoseDestination - An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsDestination

        CreateEventDestinationRequest.Builder snsDestination​(SnsDestination snsDestination)

        An object that contains information about an event destination for logging to Amazon SNS.

        Parameters:
        snsDestination - An object that contains information about an event destination for logging to Amazon SNS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateEventDestinationRequest.Builder clientToken​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.