@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
A data source in an Amazon Q Business application.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the Amazon Q Business data source was created.
|
String |
getDataSourceId()
The identifier of the Amazon Q Business data source.
|
String |
getDisplayName()
The name of the Amazon Q Business data source.
|
String |
getStatus()
The status of the Amazon Q Business data source.
|
String |
getType()
The type of the Amazon Q Business data source.
|
Date |
getUpdatedAt()
The Unix timestamp when the Amazon Q Business data source was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q Business data source was created.
|
void |
setDataSourceId(String dataSourceId)
The identifier of the Amazon Q Business data source.
|
void |
setDisplayName(String displayName)
The name of the Amazon Q Business data source.
|
void |
setStatus(String status)
The status of the Amazon Q Business data source.
|
void |
setType(String type)
The type of the Amazon Q Business data source.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q Business data source was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DataSource |
withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q Business data source was created.
|
DataSource |
withDataSourceId(String dataSourceId)
The identifier of the Amazon Q Business data source.
|
DataSource |
withDisplayName(String displayName)
The name of the Amazon Q Business data source.
|
DataSource |
withStatus(DataSourceStatus status)
The status of the Amazon Q Business data source.
|
DataSource |
withStatus(String status)
The status of the Amazon Q Business data source.
|
DataSource |
withType(String type)
The type of the Amazon Q Business data source.
|
DataSource |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q Business data source was last updated.
|
public void setDisplayName(String displayName)
The name of the Amazon Q Business data source.
displayName
- The name of the Amazon Q Business data source.public String getDisplayName()
The name of the Amazon Q Business data source.
public DataSource withDisplayName(String displayName)
The name of the Amazon Q Business data source.
displayName
- The name of the Amazon Q Business data source.public void setDataSourceId(String dataSourceId)
The identifier of the Amazon Q Business data source.
dataSourceId
- The identifier of the Amazon Q Business data source.public String getDataSourceId()
The identifier of the Amazon Q Business data source.
public DataSource withDataSourceId(String dataSourceId)
The identifier of the Amazon Q Business data source.
dataSourceId
- The identifier of the Amazon Q Business data source.public void setType(String type)
The type of the Amazon Q Business data source.
type
- The type of the Amazon Q Business data source.public String getType()
The type of the Amazon Q Business data source.
public DataSource withType(String type)
The type of the Amazon Q Business data source.
type
- The type of the Amazon Q Business data source.public void setCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q Business data source was created.
createdAt
- The Unix timestamp when the Amazon Q Business data source was created.public Date getCreatedAt()
The Unix timestamp when the Amazon Q Business data source was created.
public DataSource withCreatedAt(Date createdAt)
The Unix timestamp when the Amazon Q Business data source was created.
createdAt
- The Unix timestamp when the Amazon Q Business data source was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q Business data source was last updated.
updatedAt
- The Unix timestamp when the Amazon Q Business data source was last updated.public Date getUpdatedAt()
The Unix timestamp when the Amazon Q Business data source was last updated.
public DataSource withUpdatedAt(Date updatedAt)
The Unix timestamp when the Amazon Q Business data source was last updated.
updatedAt
- The Unix timestamp when the Amazon Q Business data source was last updated.public void setStatus(String status)
The status of the Amazon Q Business data source.
status
- The status of the Amazon Q Business data source.DataSourceStatus
public String getStatus()
The status of the Amazon Q Business data source.
DataSourceStatus
public DataSource withStatus(String status)
The status of the Amazon Q Business data source.
status
- The status of the Amazon Q Business data source.DataSourceStatus
public DataSource withStatus(DataSourceStatus status)
The status of the Amazon Q Business data source.
status
- The status of the Amazon Q Business data source.DataSourceStatus
public String toString()
toString
in class Object
Object.toString()
public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.