Interface CampaignSummary.Builder

  • Method Details

    • id

      Sets the value of the Id property for this object.
      Parameters:
      id - The new value for the Id property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      Sets the value of the Arn property for this object.
      Parameters:
      arn - The new value for the Arn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Sets the value of the Name property for this object.
      Parameters:
      name - The new value for the Name property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectInstanceId

      CampaignSummary.Builder connectInstanceId(String connectInstanceId)
      Sets the value of the ConnectInstanceId property for this object.
      Parameters:
      connectInstanceId - The new value for the ConnectInstanceId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelSubtypesWithStrings

      CampaignSummary.Builder channelSubtypesWithStrings(Collection<String> channelSubtypes)
      Sets the value of the ChannelSubtypes property for this object.
      Parameters:
      channelSubtypes - The new value for the ChannelSubtypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelSubtypesWithStrings

      CampaignSummary.Builder channelSubtypesWithStrings(String... channelSubtypes)
      Sets the value of the ChannelSubtypes property for this object.
      Parameters:
      channelSubtypes - The new value for the ChannelSubtypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelSubtypes

      CampaignSummary.Builder channelSubtypes(Collection<ChannelSubtype> channelSubtypes)
      Sets the value of the ChannelSubtypes property for this object.
      Parameters:
      channelSubtypes - The new value for the ChannelSubtypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelSubtypes

      CampaignSummary.Builder channelSubtypes(ChannelSubtype... channelSubtypes)
      Sets the value of the ChannelSubtypes property for this object.
      Parameters:
      channelSubtypes - The new value for the ChannelSubtypes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      CampaignSummary.Builder schedule(Schedule schedule)
      Sets the value of the Schedule property for this object.
      Parameters:
      schedule - The new value for the Schedule property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      default CampaignSummary.Builder schedule(Consumer<Schedule.Builder> schedule)
      Sets the value of the Schedule property for this object. This is a convenience method that creates an instance of the Schedule.Builder avoiding the need to create one manually via Schedule.builder().

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

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

      CampaignSummary.Builder connectCampaignFlowArn(String connectCampaignFlowArn)
      Sets the value of the ConnectCampaignFlowArn property for this object.
      Parameters:
      connectCampaignFlowArn - The new value for the ConnectCampaignFlowArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.