@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBase extends Object implements Serializable, Cloneable, StructuredPojo
Contains the information of a knowledge base.
Constructor and Description |
---|
KnowledgeBase() |
public void setKnowledgeBaseId(String knowledgeBaseId)
knowledgeBaseId
- public String getKnowledgeBaseId()
public KnowledgeBase withKnowledgeBaseId(String knowledgeBaseId)
knowledgeBaseId
- public void setName(String name)
name
- public String getName()
public KnowledgeBase withName(String name)
name
- public void setKnowledgeBaseArn(String knowledgeBaseArn)
knowledgeBaseArn
- public String getKnowledgeBaseArn()
public KnowledgeBase withKnowledgeBaseArn(String knowledgeBaseArn)
knowledgeBaseArn
- public void setDescription(String description)
description
- public String getDescription()
public KnowledgeBase withDescription(String description)
description
- public void setRoleArn(String roleArn)
roleArn
- public String getRoleArn()
public KnowledgeBase withRoleArn(String roleArn)
roleArn
- public void setKnowledgeBaseConfiguration(KnowledgeBaseConfiguration knowledgeBaseConfiguration)
knowledgeBaseConfiguration
- public KnowledgeBaseConfiguration getKnowledgeBaseConfiguration()
public KnowledgeBase withKnowledgeBaseConfiguration(KnowledgeBaseConfiguration knowledgeBaseConfiguration)
knowledgeBaseConfiguration
- public void setStorageConfiguration(StorageConfiguration storageConfiguration)
storageConfiguration
- public StorageConfiguration getStorageConfiguration()
public KnowledgeBase withStorageConfiguration(StorageConfiguration storageConfiguration)
storageConfiguration
- public void setStatus(String status)
status
- KnowledgeBaseStatus
public String getStatus()
KnowledgeBaseStatus
public KnowledgeBase withStatus(String status)
status
- KnowledgeBaseStatus
public KnowledgeBase withStatus(KnowledgeBaseStatus status)
status
- KnowledgeBaseStatus
public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public KnowledgeBase withCreatedAt(Date createdAt)
createdAt
- public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public KnowledgeBase withUpdatedAt(Date updatedAt)
updatedAt
- public void setFailureReasons(Collection<String> failureReasons)
failureReasons
- public KnowledgeBase withFailureReasons(String... failureReasons)
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- public KnowledgeBase withFailureReasons(Collection<String> failureReasons)
failureReasons
- public String toString()
toString
in class Object
Object.toString()
public KnowledgeBase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.