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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CampaignUpdateSummary.BuildercampaignConfig(Consumer<CampaignConfig.Builder> campaignConfig)Sets the value of the CampaignConfig property for this object.CampaignUpdateSummary.BuildercampaignConfig(CampaignConfig campaignConfig)Sets the value of the CampaignConfig property for this object.CampaignUpdateSummary.BuildercreationDateTime(Instant creationDateTime)The date and time (in Unix time) that the campaign update was created.CampaignUpdateSummary.BuilderfailureReason(String failureReason)If a campaign update fails, the reason behind the failure.CampaignUpdateSummary.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time (in Unix time) that the campaign update was last updated.CampaignUpdateSummary.BuilderminProvisionedTPS(Integer minProvisionedTPS)Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.CampaignUpdateSummary.BuildersolutionVersionArn(String solutionVersionArn)The Amazon Resource Name (ARN) of the deployed solution version.CampaignUpdateSummary.Builderstatus(String status)The status of the campaign update.-
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
-
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 theCampaignConfig.Builderavoiding the need to create one manually viaCampaignConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocampaignConfig(CampaignConfig).- Parameters:
campaignConfig- a consumer that will call methods onCampaignConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
campaignConfig(CampaignConfig)
-
status
CampaignUpdateSummary.Builder status(String 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.
-
-