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 Summary
Modifier and TypeMethodDescriptioncampaignArn
(String campaignArn) The Amazon Resource Name (ARN) of the campaign.creationDateTime
(Instant creationDateTime) The date and time (in Unix time) that the campaign was created.failureReason
(String failureReason) If a campaign fails, the reason behind the failure.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time (in Unix time) that the campaign was last updated.The name of the campaign.The status of the campaign.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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.
-