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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CampaignSummary.BuildercampaignArn(String campaignArn)The Amazon Resource Name (ARN) of the campaign.CampaignSummary.BuildercreationDateTime(Instant creationDateTime)The date and time (in Unix time) that the campaign was created.CampaignSummary.BuilderfailureReason(String failureReason)If a campaign fails, the reason behind the failure.CampaignSummary.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time (in Unix time) that the campaign was last updated.CampaignSummary.Buildername(String name)The name of the campaign.CampaignSummary.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CampaignSummary.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
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
CampaignSummary.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.
-
-
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.
-
-