Interface ConfigurationSetInformation.Builder

  • Method Details

    • configurationSetArn

      ConfigurationSetInformation.Builder configurationSetArn(String configurationSetArn)

      The Resource Name (ARN) of the ConfigurationSet.

      Parameters:
      configurationSetArn - The Resource Name (ARN) of the ConfigurationSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurationSetName

      ConfigurationSetInformation.Builder configurationSetName(String configurationSetName)

      The name of the ConfigurationSet.

      Parameters:
      configurationSetName - The name of the ConfigurationSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventDestinations

      ConfigurationSetInformation.Builder eventDestinations(Collection<EventDestination> eventDestinations)

      An array of EventDestination objects that describe any events to log and where to log them.

      Parameters:
      eventDestinations - An array of EventDestination objects that describe any events to log and where to log them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventDestinations

      ConfigurationSetInformation.Builder eventDestinations(EventDestination... eventDestinations)

      An array of EventDestination objects that describe any events to log and where to log them.

      Parameters:
      eventDestinations - An array of EventDestination objects that describe any events to log and where to log them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventDestinations

      ConfigurationSetInformation.Builder eventDestinations(Consumer<EventDestination.Builder>... eventDestinations)

      An array of EventDestination objects that describe any events to log and where to log them.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventDestinations(List<EventDestination>).

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

      ConfigurationSetInformation.Builder defaultMessageType(String defaultMessageType)

      The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

      Parameters:
      defaultMessageType - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultMessageType

      ConfigurationSetInformation.Builder defaultMessageType(MessageType defaultMessageType)

      The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

      Parameters:
      defaultMessageType - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultSenderId

      ConfigurationSetInformation.Builder defaultSenderId(String defaultSenderId)

      The default sender ID used by the ConfigurationSet.

      Parameters:
      defaultSenderId - The default sender ID used by the ConfigurationSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultMessageFeedbackEnabled

      ConfigurationSetInformation.Builder defaultMessageFeedbackEnabled(Boolean defaultMessageFeedbackEnabled)

      True if message feedback is enabled.

      Parameters:
      defaultMessageFeedbackEnabled - True if message feedback is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      ConfigurationSetInformation.Builder createdTimestamp(Instant createdTimestamp)

      The time when the ConfigurationSet was created, in UNIX epoch time format.

      Parameters:
      createdTimestamp - The time when the ConfigurationSet was created, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protectConfigurationId

      ConfigurationSetInformation.Builder protectConfigurationId(String protectConfigurationId)

      The unique identifier for the protect configuration.

      Parameters:
      protectConfigurationId - The unique identifier for the protect configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.