@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for a Amazon Kendra data source. Returned in a call to the DescribeDataSource
operation.
| Constructor and Description |
|---|
DataSourceSummary() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The UNIX datetime that the data source was created.
|
String |
getId()
The unique identifier for the data source.
|
String |
getLanguageCode()
The code for a language.
|
String |
getName()
The name of the data source.
|
String |
getStatus()
The status of the data source.
|
String |
getType()
The type of the data source.
|
Date |
getUpdatedAt()
The UNIX datetime that the data source was lasted updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedAt(Date createdAt)
The UNIX datetime that the data source was created.
|
void |
setId(String id)
The unique identifier for the data source.
|
void |
setLanguageCode(String languageCode)
The code for a language.
|
void |
setName(String name)
The name of the data source.
|
void |
setStatus(String status)
The status of the data source.
|
void |
setType(String type)
The type of the data source.
|
void |
setUpdatedAt(Date updatedAt)
The UNIX datetime that the data source was lasted updated.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceSummary |
withCreatedAt(Date createdAt)
The UNIX datetime that the data source was created.
|
DataSourceSummary |
withId(String id)
The unique identifier for the data source.
|
DataSourceSummary |
withLanguageCode(String languageCode)
The code for a language.
|
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 |
withType(DataSourceType type)
The type of the data source.
|
DataSourceSummary |
withType(String type)
The type of the data source.
|
DataSourceSummary |
withUpdatedAt(Date updatedAt)
The UNIX datetime that the data source was lasted updated.
|
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 setId(String id)
The unique identifier for the data source.
id - The unique identifier for the data source.public String getId()
The unique identifier for the data source.
public DataSourceSummary withId(String id)
The unique identifier for the data source.
id - The unique identifier for the data source.public void setType(String type)
The type of the data source.
type - The type of the data source.DataSourceTypepublic String getType()
The type of the data source.
DataSourceTypepublic DataSourceSummary withType(String type)
The type of the data source.
type - The type of the data source.DataSourceTypepublic DataSourceSummary withType(DataSourceType type)
The type of the data source.
type - The type of the data source.DataSourceTypepublic void setCreatedAt(Date createdAt)
The UNIX datetime that the data source was created.
createdAt - The UNIX datetime that the data source was created.public Date getCreatedAt()
The UNIX datetime that the data source was created.
public DataSourceSummary withCreatedAt(Date createdAt)
The UNIX datetime that the data source was created.
createdAt - The UNIX datetime that the data source was created.public void setUpdatedAt(Date updatedAt)
The UNIX datetime that the data source was lasted updated.
updatedAt - The UNIX datetime that the data source was lasted updated.public Date getUpdatedAt()
The UNIX datetime that the data source was lasted updated.
public DataSourceSummary withUpdatedAt(Date updatedAt)
The UNIX datetime that the data source was lasted updated.
updatedAt - The UNIX datetime that the data source was lasted updated.public void setStatus(String status)
The status of the data source. When the status is ACTIVE the data source is ready to use.
status - The status of the data source. When the status is ACTIVE the data source is ready to use.DataSourceStatuspublic String getStatus()
The status of the data source. When the status is ACTIVE the data source is ready to use.
ACTIVE the data source is ready to use.DataSourceStatuspublic DataSourceSummary withStatus(String status)
The status of the data source. When the status is ACTIVE the data source is ready to use.
status - The status of the data source. When the status is ACTIVE the data source is ready to use.DataSourceStatuspublic DataSourceSummary withStatus(DataSourceStatus status)
The status of the data source. When the status is ACTIVE the data source is ready to use.
status - The status of the data source. When the status is ACTIVE the data source is ready to use.DataSourceStatuspublic void setLanguageCode(String languageCode)
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode - The code for a language. This shows a supported language for all documents in the data source. English is
supported by default. For more information on supported languages, including their codes, see Adding documents in languages
other than English.public String getLanguageCode()
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
public DataSourceSummary withLanguageCode(String languageCode)
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode - The code for a language. This shows a supported language for all documents in the data source. English is
supported by default. For more information on supported languages, including their codes, see Adding documents in languages
other than English.public String toString()
toString in class ObjectObject.toString()public DataSourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.