@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a data source.
Constructor and Description |
---|
DataSourceSummary() |
Modifier and Type | Method and Description |
---|---|
DataSourceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceId()
The unique identifier of the data source.
|
String |
getDescription()
The description of the data source.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to which the data source belongs.
|
String |
getName()
The name of the data source.
|
String |
getStatus()
The status of the data source.
|
Date |
getUpdatedAt()
The time at which the data source was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSourceId(String dataSourceId)
The unique identifier of the data source.
|
void |
setDescription(String description)
The description of the data source.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
|
void |
setName(String name)
The name of the data source.
|
void |
setStatus(String status)
The status of the data source.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the data source was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceSummary |
withDataSourceId(String dataSourceId)
The unique identifier of the data source.
|
DataSourceSummary |
withDescription(String description)
The description of the data source.
|
DataSourceSummary |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
|
DataSourceSummary |
withName(String name)
The name of the data source.
|
DataSourceSummary |
withStatus(DataSourceStatus status)
The status of the data source.
|
DataSourceSummary |
withStatus(String status)
The status of the data source.
|
DataSourceSummary |
withUpdatedAt(Date updatedAt)
The time at which the data source was last updated.
|
public void setDataSourceId(String dataSourceId)
The unique identifier of the data source.
dataSourceId
- The unique identifier of the data source.public String getDataSourceId()
The unique identifier of the data source.
public DataSourceSummary withDataSourceId(String dataSourceId)
The unique identifier of the data source.
dataSourceId
- The unique identifier of the data source.public void setDescription(String description)
The description of the data source.
description
- The description of the data source.public String getDescription()
The description of the data source.
public DataSourceSummary withDescription(String description)
The description of the data source.
description
- The description of the data source.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source belongs.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to which the data source belongs.
public DataSourceSummary withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to which the data source belongs.
knowledgeBaseId
- The unique identifier of the knowledge base to which the data source belongs.public void setName(String name)
The name of the data source.
name
- The name of the data source.public String getName()
The name of the data source.
public DataSourceSummary withName(String name)
The name of the data source.
name
- The name of the data source.public void setStatus(String status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public String getStatus()
The status of the data source.
DataSourceStatus
public DataSourceSummary withStatus(String status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public DataSourceSummary withStatus(DataSourceStatus status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public void setUpdatedAt(Date updatedAt)
The time at which the data source was last updated.
updatedAt
- The time at which the data source was last updated.public Date getUpdatedAt()
The time at which the data source was last updated.
public DataSourceSummary withUpdatedAt(Date updatedAt)
The time at which the data source was last updated.
updatedAt
- The time at which the data source was last updated.public String toString()
toString
in class Object
Object.toString()
public DataSourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.