@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)
Marshalls this structured data using the given
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.DataSourceType
public String getType()
The type of the data source.
DataSourceType
public DataSourceSummary withType(String type)
The type of the data source.
type
- The type of the data source.DataSourceType
public DataSourceSummary withType(DataSourceType type)
The type of the data source.
type
- The type of the data source.DataSourceType
public 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.DataSourceStatus
public 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.DataSourceStatus
public 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.DataSourceStatus
public 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.DataSourceStatus
public 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 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.