Interface CampaignUpdateSummary.Builder

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

public static interface CampaignUpdateSummary.Builder extends SdkPojo, CopyableBuilder<CampaignUpdateSummary.Builder,CampaignUpdateSummary>
  • Method Details

    • solutionVersionArn

      CampaignUpdateSummary.Builder solutionVersionArn(String solutionVersionArn)

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

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

      CampaignUpdateSummary.Builder minProvisionedTPS(Integer minProvisionedTPS)

      Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.

      Parameters:
      minProvisionedTPS - Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • campaignConfig

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

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

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

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

      The status of the campaign update.

      A campaign update 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 update.

      A campaign update 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

      CampaignUpdateSummary.Builder failureReason(String failureReason)

      If a campaign update fails, the reason behind the failure.

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

      CampaignUpdateSummary.Builder creationDateTime(Instant creationDateTime)

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

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

      CampaignUpdateSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

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

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