/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.personalize.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CampaignUpdateSummary implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the deployed solution version. *

*/ private String solutionVersionArn; /** *

* Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize * will support. *

*/ private Integer minProvisionedTPS; private CampaignConfig campaignConfig; /** *

* The status of the campaign update. *

*

* A campaign update can be in one of the following states: *

* */ private String status; /** *

* If a campaign update fails, the reason behind the failure. *

*/ private String failureReason; /** *

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

*/ private java.util.Date creationDateTime; /** *

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

*/ private java.util.Date lastUpdatedDateTime; /** *

* The Amazon Resource Name (ARN) of the deployed solution version. *

* * @param solutionVersionArn * The Amazon Resource Name (ARN) of the deployed solution version. */ public void setSolutionVersionArn(String solutionVersionArn) { this.solutionVersionArn = solutionVersionArn; } /** *

* The Amazon Resource Name (ARN) of the deployed solution version. *

* * @return The Amazon Resource Name (ARN) of the deployed solution version. */ public String getSolutionVersionArn() { return this.solutionVersionArn; } /** *

* The Amazon Resource Name (ARN) of the deployed solution version. *

* * @param solutionVersionArn * The Amazon Resource Name (ARN) of the deployed solution version. * @return Returns a reference to this object so that method calls can be chained together. */ public CampaignUpdateSummary withSolutionVersionArn(String solutionVersionArn) { setSolutionVersionArn(solutionVersionArn); return this; } /** *

* Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize * will support. *

* * @param minProvisionedTPS * Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon * Personalize will support. */ public void setMinProvisionedTPS(Integer minProvisionedTPS) { this.minProvisionedTPS = minProvisionedTPS; } /** *

* Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize * will support. *

* * @return Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon * Personalize will support. */ public Integer getMinProvisionedTPS() { return this.minProvisionedTPS; } /** *

* Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize * will support. *

* * @param minProvisionedTPS * Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon * Personalize will support. * @return Returns a reference to this object so that method calls can be chained together. */ public CampaignUpdateSummary withMinProvisionedTPS(Integer minProvisionedTPS) { setMinProvisionedTPS(minProvisionedTPS); return this; } /** * @param campaignConfig */ public void setCampaignConfig(CampaignConfig campaignConfig) { this.campaignConfig = campaignConfig; } /** * @return */ public CampaignConfig getCampaignConfig() { return this.campaignConfig; } /** * @param campaignConfig * @return Returns a reference to this object so that method calls can be chained together. */ public CampaignUpdateSummary withCampaignConfig(CampaignConfig campaignConfig) { setCampaignConfig(campaignConfig); return this; } /** *

* The status of the campaign update. *

*

* A campaign update can be in one of the following states: *

* * * @param status * The status of the campaign update.

*

* A campaign update can be in one of the following states: *

*