Interface Campaign.Builder

    • Method Detail

      • name

        Campaign.Builder name​(String name)

        The name of the campaign.

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

        Campaign.Builder campaignArn​(String campaignArn)

        The Amazon Resource Name (ARN) of the campaign.

        Parameters:
        campaignArn - The Amazon Resource Name (ARN) of the campaign.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • solutionVersionArn

        Campaign.Builder solutionVersionArn​(String solutionVersionArn)

        The Amazon Resource Name (ARN) of the solution version the campaign uses.

        Parameters:
        solutionVersionArn - The Amazon Resource Name (ARN) of the solution version the campaign uses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minProvisionedTPS

        Campaign.Builder minProvisionedTPS​(Integer minProvisionedTPS)

        Specifies the requested minimum provisioned transactions (recommendations) per second. A high minProvisionedTPS will increase your bill. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary.

        Parameters:
        minProvisionedTPS - Specifies the requested minimum provisioned transactions (recommendations) per second. A high minProvisionedTPS will increase your bill. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • campaignConfig

        Campaign.Builder campaignConfig​(CampaignConfig campaignConfig)

        The configuration details of a campaign.

        Parameters:
        campaignConfig - The configuration details of a campaign.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Campaign.Builder status​(String status)

        The status of the campaign.

        A campaign can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING > DELETE IN_PROGRESS

        Parameters:
        status - The status of the campaign.

        A campaign can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING > DELETE IN_PROGRESS

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

        Campaign.Builder failureReason​(String failureReason)

        If a campaign fails, the reason behind the failure.

        Parameters:
        failureReason - If a campaign fails, the reason behind the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateTime

        Campaign.Builder creationDateTime​(Instant creationDateTime)

        The date and time (in Unix format) that the campaign was created.

        Parameters:
        creationDateTime - The date and time (in Unix format) that the campaign was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        Campaign.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The date and time (in Unix format) that the campaign was last updated.

        Parameters:
        lastUpdatedDateTime - The date and time (in Unix format) that the campaign was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestCampaignUpdate

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