Interface DescribeCampaignResponse.Builder

  • Method Details

    • campaign

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

      The properties of the campaign.

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

      Parameters:
      campaign -

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

      The properties of the campaign.

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

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

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

      The properties of the campaign.

      The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

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

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

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