Interface Campaign.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Campaign.Builder,Campaign>, SdkBuilder<Campaign.Builder,Campaign>, SdkPojo
Enclosing class:
Campaign

public static interface Campaign.Builder extends SdkPojo, CopyableBuilder<Campaign.Builder,Campaign>
  • 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

      Campaign.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.
    • dialerConfig

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

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

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

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

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

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

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

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

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