/* * 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.connectwisdom.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the knowledge base. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseData implements Serializable, Cloneable, StructuredPojo { /** ** The description. *
*/ private String description; /** ** The Amazon Resource Name (ARN) of the knowledge base. *
*/ private String knowledgeBaseArn; /** ** The identifier of the knowledge base. *
*/ private String knowledgeBaseId; /** ** The type of knowledge base. *
*/ private String knowledgeBaseType; /** ** An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content * exists in a knowledge base, this value is unset. *
*/ private java.util.Date lastContentModificationTime; /** ** The name of the knowledge base. *
*/ private String name; /** ** Information about how to render the content. *
*/ private RenderingConfiguration renderingConfiguration; /** ** The KMS key used for encryption. *
*/ private ServerSideEncryptionConfiguration serverSideEncryptionConfiguration; /** ** Source configuration information about the knowledge base. *
*/ private SourceConfiguration sourceConfiguration; /** ** The status of the knowledge base. *
*/ private String status; /** ** The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* The description. *
* * @param description * The description. */ public void setDescription(String description) { this.description = description; } /** ** The description. *
* * @return The description. */ public String getDescription() { return this.description; } /** ** The description. *
* * @param description * The description. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Resource Name (ARN) of the knowledge base. *
* * @param knowledgeBaseArn * The Amazon Resource Name (ARN) of the knowledge base. */ public void setKnowledgeBaseArn(String knowledgeBaseArn) { this.knowledgeBaseArn = knowledgeBaseArn; } /** ** The Amazon Resource Name (ARN) of the knowledge base. *
* * @return The Amazon Resource Name (ARN) of the knowledge base. */ public String getKnowledgeBaseArn() { return this.knowledgeBaseArn; } /** ** The Amazon Resource Name (ARN) of the knowledge base. *
* * @param knowledgeBaseArn * The Amazon Resource Name (ARN) of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withKnowledgeBaseArn(String knowledgeBaseArn) { setKnowledgeBaseArn(knowledgeBaseArn); return this; } /** ** The identifier of the knowledge base. *
* * @param knowledgeBaseId * The identifier of the knowledge base. */ public void setKnowledgeBaseId(String knowledgeBaseId) { this.knowledgeBaseId = knowledgeBaseId; } /** ** The identifier of the knowledge base. *
* * @return The identifier of the knowledge base. */ public String getKnowledgeBaseId() { return this.knowledgeBaseId; } /** ** The identifier of the knowledge base. *
* * @param knowledgeBaseId * The identifier of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withKnowledgeBaseId(String knowledgeBaseId) { setKnowledgeBaseId(knowledgeBaseId); return this; } /** ** The type of knowledge base. *
* * @param knowledgeBaseType * The type of knowledge base. * @see KnowledgeBaseType */ public void setKnowledgeBaseType(String knowledgeBaseType) { this.knowledgeBaseType = knowledgeBaseType; } /** ** The type of knowledge base. *
* * @return The type of knowledge base. * @see KnowledgeBaseType */ public String getKnowledgeBaseType() { return this.knowledgeBaseType; } /** ** The type of knowledge base. *
* * @param knowledgeBaseType * The type of knowledge base. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseType */ public KnowledgeBaseData withKnowledgeBaseType(String knowledgeBaseType) { setKnowledgeBaseType(knowledgeBaseType); return this; } /** ** The type of knowledge base. *
* * @param knowledgeBaseType * The type of knowledge base. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseType */ public KnowledgeBaseData withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType) { this.knowledgeBaseType = knowledgeBaseType.toString(); return this; } /** ** An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content * exists in a knowledge base, this value is unset. *
* * @param lastContentModificationTime * An epoch timestamp indicating the most recent content modification inside the knowledge base. If no * content exists in a knowledge base, this value is unset. */ public void setLastContentModificationTime(java.util.Date lastContentModificationTime) { this.lastContentModificationTime = lastContentModificationTime; } /** ** An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content * exists in a knowledge base, this value is unset. *
* * @return An epoch timestamp indicating the most recent content modification inside the knowledge base. If no * content exists in a knowledge base, this value is unset. */ public java.util.Date getLastContentModificationTime() { return this.lastContentModificationTime; } /** ** An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content * exists in a knowledge base, this value is unset. *
* * @param lastContentModificationTime * An epoch timestamp indicating the most recent content modification inside the knowledge base. If no * content exists in a knowledge base, this value is unset. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withLastContentModificationTime(java.util.Date lastContentModificationTime) { setLastContentModificationTime(lastContentModificationTime); return this; } /** ** The name of the knowledge base. *
* * @param name * The name of the knowledge base. */ public void setName(String name) { this.name = name; } /** ** The name of the knowledge base. *
* * @return The name of the knowledge base. */ public String getName() { return this.name; } /** ** The name of the knowledge base. *
* * @param name * The name of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withName(String name) { setName(name); return this; } /** ** Information about how to render the content. *
* * @param renderingConfiguration * Information about how to render the content. */ public void setRenderingConfiguration(RenderingConfiguration renderingConfiguration) { this.renderingConfiguration = renderingConfiguration; } /** ** Information about how to render the content. *
* * @return Information about how to render the content. */ public RenderingConfiguration getRenderingConfiguration() { return this.renderingConfiguration; } /** ** Information about how to render the content. *
* * @param renderingConfiguration * Information about how to render the content. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withRenderingConfiguration(RenderingConfiguration renderingConfiguration) { setRenderingConfiguration(renderingConfiguration); return this; } /** ** The KMS key used for encryption. *
* * @param serverSideEncryptionConfiguration * The KMS key used for encryption. */ public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) { this.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration; } /** ** The KMS key used for encryption. *
* * @return The KMS key used for encryption. */ public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration() { return this.serverSideEncryptionConfiguration; } /** ** The KMS key used for encryption. *
* * @param serverSideEncryptionConfiguration * The KMS key used for encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) { setServerSideEncryptionConfiguration(serverSideEncryptionConfiguration); return this; } /** ** Source configuration information about the knowledge base. *
* * @param sourceConfiguration * Source configuration information about the knowledge base. */ public void setSourceConfiguration(SourceConfiguration sourceConfiguration) { this.sourceConfiguration = sourceConfiguration; } /** ** Source configuration information about the knowledge base. *
* * @return Source configuration information about the knowledge base. */ public SourceConfiguration getSourceConfiguration() { return this.sourceConfiguration; } /** ** Source configuration information about the knowledge base. *
* * @param sourceConfiguration * Source configuration information about the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withSourceConfiguration(SourceConfiguration sourceConfiguration) { setSourceConfiguration(sourceConfiguration); return this; } /** ** The status of the knowledge base. *
* * @param status * The status of the knowledge base. * @see KnowledgeBaseStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the knowledge base. *
* * @return The status of the knowledge base. * @see KnowledgeBaseStatus */ public String getStatus() { return this.status; } /** ** The status of the knowledge base. *
* * @param status * The status of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseStatus */ public KnowledgeBaseData withStatus(String status) { setStatus(status); return this; } /** ** The status of the knowledge base. *
* * @param status * The status of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseStatus */ public KnowledgeBaseData withStatus(KnowledgeBaseStatus status) { this.status = status.toString(); return this; } /** ** The tags used to organize, track, or control access for this resource. *
* * @return The tags used to organize, track, or control access for this resource. */ public java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. */ public void setTags(java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseData withTags(java.util.Map