/* * 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; /** *
* Summary information about the knowledge base. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseSummary implements Serializable, Cloneable, StructuredPojo { /** ** The description of the knowledge base. *
*/ 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; /** ** 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; /** ** Configuration information about the external data source. *
*/ private SourceConfiguration sourceConfiguration; /** ** The status of the knowledge base summary. *
*/ private String status; /** ** The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* The description of the knowledge base. *
* * @param description * The description of the knowledge base. */ public void setDescription(String description) { this.description = description; } /** ** The description of the knowledge base. *
* * @return The description of the knowledge base. */ public String getDescription() { return this.description; } /** ** The description of the knowledge base. *
* * @param description * The description of the knowledge base. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseSummary 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 KnowledgeBaseSummary 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 KnowledgeBaseSummary 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 KnowledgeBaseSummary 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 KnowledgeBaseSummary withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType) { this.knowledgeBaseType = knowledgeBaseType.toString(); 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 KnowledgeBaseSummary 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 KnowledgeBaseSummary 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 KnowledgeBaseSummary withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) { setServerSideEncryptionConfiguration(serverSideEncryptionConfiguration); return this; } /** ** Configuration information about the external data source. *
* * @param sourceConfiguration * Configuration information about the external data source. */ public void setSourceConfiguration(SourceConfiguration sourceConfiguration) { this.sourceConfiguration = sourceConfiguration; } /** ** Configuration information about the external data source. *
* * @return Configuration information about the external data source. */ public SourceConfiguration getSourceConfiguration() { return this.sourceConfiguration; } /** ** Configuration information about the external data source. *
* * @param sourceConfiguration * Configuration information about the external data source. * @return Returns a reference to this object so that method calls can be chained together. */ public KnowledgeBaseSummary withSourceConfiguration(SourceConfiguration sourceConfiguration) { setSourceConfiguration(sourceConfiguration); return this; } /** ** The status of the knowledge base summary. *
* * @param status * The status of the knowledge base summary. * @see KnowledgeBaseStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the knowledge base summary. *
* * @return The status of the knowledge base summary. * @see KnowledgeBaseStatus */ public String getStatus() { return this.status; } /** ** The status of the knowledge base summary. *
* * @param status * The status of the knowledge base summary. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseStatus */ public KnowledgeBaseSummary withStatus(String status) { setStatus(status); return this; } /** ** The status of the knowledge base summary. *
* * @param status * The status of the knowledge base summary. * @return Returns a reference to this object so that method calls can be chained together. * @see KnowledgeBaseStatus */ public KnowledgeBaseSummary 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 KnowledgeBaseSummary withTags(java.util.Map