Interface CreateEventDestinationRequest.Builder

  • Method Details

    • 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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 AWS End User Messaging SMS and Voice 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.
    • cloudWatchLogsDestination

      default CreateEventDestinationRequest.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)

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

      This is a convenience method that creates an instance of the CloudWatchLogsDestination.Builder avoiding the need to create one manually via CloudWatchLogsDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudWatchLogsDestination(CloudWatchLogsDestination).

      Parameters:
      cloudWatchLogsDestination - a consumer that will call methods on CloudWatchLogsDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kinesisFirehoseDestination

      CreateEventDestinationRequest.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)

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

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

      default CreateEventDestinationRequest.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)

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

      This is a convenience method that creates an instance of the KinesisFirehoseDestination.Builder avoiding the need to create one manually via KinesisFirehoseDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kinesisFirehoseDestination(KinesisFirehoseDestination).

      Parameters:
      kinesisFirehoseDestination - a consumer that will call methods on KinesisFirehoseDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • snsDestination

      default CreateEventDestinationRequest.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination)

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

      This is a convenience method that creates an instance of the SnsDestination.Builder avoiding the need to create one manually via SnsDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to snsDestination(SnsDestination).

      Parameters:
      snsDestination - a consumer that will call methods on SnsDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • overrideConfiguration

      CreateEventDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.