@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 .
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 |
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 |
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 |
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 ATIVE
the data source is ready to use.
status
- The status of the data source. When the status is ATIVE
the data source is ready to use.DataSourceStatus
public String getStatus()
The status of the data source. When the status is ATIVE
the data source is ready to use.
ATIVE
the data source is ready to use.DataSourceStatus
public DataSourceSummary withStatus(String status)
The status of the data source. When the status is ATIVE
the data source is ready to use.
status
- The status of the data source. When the status is ATIVE
the data source is ready to use.DataSourceStatus
public DataSourceSummary withStatus(DataSourceStatus status)
The status of the data source. When the status is ATIVE
the data source is ready to use.
status
- The status of the data source. When the status is ATIVE
the data source is ready to use.DataSourceStatus
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.