public static interface Campaign.Builder extends SdkPojo, CopyableBuilder<Campaign.Builder,Campaign>
| Modifier and Type | Method and Description |
|---|---|
Campaign.Builder |
campaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign.
|
Campaign.Builder |
creationDateTime(Instant creationDateTime)
The date and time (in Unix format) that the campaign was created.
|
Campaign.Builder |
failureReason(String failureReason)
If a campaign fails, the reason behind the failure.
|
Campaign.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix format) that the campaign was last updated.
|
Campaign.Builder |
latestCampaignUpdate(CampaignUpdateSummary latestCampaignUpdate)
Sets the value of the LatestCampaignUpdate property for this object.
|
default Campaign.Builder |
latestCampaignUpdate(Consumer<CampaignUpdateSummary.Builder> latestCampaignUpdate)
Sets the value of the LatestCampaignUpdate property for this object.
|
Campaign.Builder |
minProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second.
|
Campaign.Builder |
name(String name)
The name of the campaign.
|
Campaign.Builder |
solutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of a specific version of the solution.
|
Campaign.Builder |
status(String status)
The status of the campaign.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCampaign.Builder name(String name)
The name of the campaign.
name - The name of the campaign.Campaign.Builder campaignArn(String campaignArn)
The Amazon Resource Name (ARN) of the campaign.
campaignArn - The Amazon Resource Name (ARN) of the campaign.Campaign.Builder solutionVersionArn(String solutionVersionArn)
The Amazon Resource Name (ARN) of a specific version of the solution.
solutionVersionArn - The Amazon Resource Name (ARN) of a specific version of the solution.Campaign.Builder minProvisionedTPS(Integer minProvisionedTPS)
Specifies the requested minimum provisioned transactions (recommendations) per second.
minProvisionedTPS - Specifies the requested minimum provisioned transactions (recommendations) per second.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
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
Campaign.Builder failureReason(String failureReason)
If a campaign fails, the reason behind the failure.
failureReason - If a campaign fails, the reason behind the failure.Campaign.Builder creationDateTime(Instant creationDateTime)
The date and time (in Unix format) that the campaign was created.
creationDateTime - The date and time (in Unix format) that the campaign was created.Campaign.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix format) that the campaign was last updated.
lastUpdatedDateTime - The date and time (in Unix format) that the campaign was last updated.Campaign.Builder latestCampaignUpdate(CampaignUpdateSummary latestCampaignUpdate)
latestCampaignUpdate - The new value for the LatestCampaignUpdate property for this object.default Campaign.Builder latestCampaignUpdate(Consumer<CampaignUpdateSummary.Builder> latestCampaignUpdate)
CampaignUpdateSummary.Builder avoiding the need
to create one manually via CampaignUpdateSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to latestCampaignUpdate(CampaignUpdateSummary).latestCampaignUpdate - a consumer that will call methods on CampaignUpdateSummary.BuilderlatestCampaignUpdate(CampaignUpdateSummary)Copyright © 2019. All rights reserved.