@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A DataSourceSummary
object that returns a summary of a data source.
Constructor and Description |
---|
DataSourceSummary() |
Modifier and Type | Method and Description |
---|---|
DataSourceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The arn of the datasource.
|
Date |
getCreatedTime()
The date and time that the data source was created.
|
String |
getDataSourceId()
The unique ID of the data source.
|
Date |
getLastUpdatedTime()
The date and time the data source was last updated.
|
String |
getName()
The name of the data source.
|
String |
getType()
The type of the data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The arn of the datasource.
|
void |
setCreatedTime(Date createdTime)
The date and time that the data source was created.
|
void |
setDataSourceId(String dataSourceId)
The unique ID of the data source.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time the data source was last updated.
|
void |
setName(String name)
The name of the data source.
|
void |
setType(String type)
The type of the data source.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceSummary |
withArn(String arn)
The arn of the datasource.
|
DataSourceSummary |
withCreatedTime(Date createdTime)
The date and time that the data source was created.
|
DataSourceSummary |
withDataSourceId(String dataSourceId)
The unique ID of the data source.
|
DataSourceSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time the data source was last updated.
|
DataSourceSummary |
withName(String name)
The name of the data source.
|
DataSourceSummary |
withType(DataSourceType type)
The type of the data source.
|
DataSourceSummary |
withType(String type)
The type of the data source.
|
public void setArn(String arn)
The arn of the datasource.
arn
- The arn of the datasource.public String getArn()
The arn of the datasource.
public DataSourceSummary withArn(String arn)
The arn of the datasource.
arn
- The arn of the datasource.public void setDataSourceId(String dataSourceId)
The unique ID of the data source.
dataSourceId
- The unique ID of the data source.public String getDataSourceId()
The unique ID of the data source.
public DataSourceSummary withDataSourceId(String dataSourceId)
The unique ID of the data source.
dataSourceId
- The unique ID of the data source.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 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 setCreatedTime(Date createdTime)
The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.
createdTime
- The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.public Date getCreatedTime()
The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.
public DataSourceSummary withCreatedTime(Date createdTime)
The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.
createdTime
- The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.
lastUpdatedTime
- The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.public Date getLastUpdatedTime()
The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.
public DataSourceSummary withLastUpdatedTime(Date lastUpdatedTime)
The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.
lastUpdatedTime
- The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.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.