Interface CampaignSummary.Builder

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

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

    • 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

      CampaignSummary.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.
    • 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.
    • creationDateTime

      CampaignSummary.Builder creationDateTime(Instant creationDateTime)

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

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

      CampaignSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

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

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

      CampaignSummary.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.