/* * 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 recommender update. For a complete listing, call the DescribeRecommender API. *

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

* The configuration details of the recommender update. *

*/ private RecommenderConfig recommenderConfig; /** *

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

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

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

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

* The status of the recommender update. *

*

* A recommender can be in one of the following states: *

* */ private String status; /** *

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

*/ private String failureReason; /** *

* The configuration details of the recommender update. *

* * @param recommenderConfig * The configuration details of the recommender update. */ public void setRecommenderConfig(RecommenderConfig recommenderConfig) { this.recommenderConfig = recommenderConfig; } /** *

* The configuration details of the recommender update. *

* * @return The configuration details of the recommender update. */ public RecommenderConfig getRecommenderConfig() { return this.recommenderConfig; } /** *

* The configuration details of the recommender update. *

* * @param recommenderConfig * The configuration details of the recommender update. * @return Returns a reference to this object so that method calls can be chained together. */ public RecommenderUpdateSummary withRecommenderConfig(RecommenderConfig recommenderConfig) { setRecommenderConfig(recommenderConfig); return this; } /** *

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

* * @param creationDateTime * The date and time (in Unix format) that the recommender update was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** *

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

* * @return The date and time (in Unix format) that the recommender update was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** *

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

* * @param creationDateTime * The date and time (in Unix format) that the recommender update was created. * @return Returns a reference to this object so that method calls can be chained together. */ public RecommenderUpdateSummary withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** *

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

* * @param lastUpdatedDateTime * The date and time (in Unix time) that the recommender update was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** *

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

* * @return The date and time (in Unix time) that the recommender update was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** *

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

* * @param lastUpdatedDateTime * The date and time (in Unix time) that the recommender update was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public RecommenderUpdateSummary withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** *

* The status of the recommender update. *

*

* A recommender can be in one of the following states: *

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

*

* A recommender can be in one of the following states: *

*