@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
Represents the output of the GetDataSource
operation.
The content consists of the detailed metadata and data file information and the current status of the
DataSource
.
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
Boolean |
getComputeStatistics()
The parameter is
true if statistics need to be generated from the observation data. |
Long |
getComputeTime() |
Date |
getCreatedAt()
The time that the
DataSource was created. |
String |
getCreatedByIamUser()
The AWS user account from which the
DataSource was created. |
String |
getDataLocationS3()
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource . |
String |
getDataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
Long |
getDataSizeInBytes()
The total number of observations contained in the data files that the
DataSource references. |
String |
getDataSourceId()
The ID that is assigned to the
DataSource during creation. |
Date |
getFinishedAt() |
Date |
getLastUpdatedAt()
The time of the most recent edit to the
BatchPrediction . |
String |
getMessage()
A description of the most recent details about creating the
DataSource . |
String |
getName()
A user-supplied name or description of the
DataSource . |
Long |
getNumberOfFiles()
The number of data files referenced by the
DataSource . |
RDSMetadata |
getRDSMetadata() |
RedshiftMetadata |
getRedshiftMetadata() |
String |
getRoleARN() |
Date |
getStartedAt() |
String |
getStatus()
The current status of the
DataSource . |
int |
hashCode() |
Boolean |
isComputeStatistics()
The parameter is
true if statistics need to be generated from the observation data. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComputeStatistics(Boolean computeStatistics)
The parameter is
true if statistics need to be generated from the observation data. |
void |
setComputeTime(Long computeTime) |
void |
setCreatedAt(Date createdAt)
The time that the
DataSource was created. |
void |
setCreatedByIamUser(String createdByIamUser)
The AWS user account from which the
DataSource was created. |
void |
setDataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource . |
void |
setDataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
void |
setDataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the
DataSource references. |
void |
setDataSourceId(String dataSourceId)
The ID that is assigned to the
DataSource during creation. |
void |
setFinishedAt(Date finishedAt) |
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
void |
setMessage(String message)
A description of the most recent details about creating the
DataSource . |
void |
setName(String name)
A user-supplied name or description of the
DataSource . |
void |
setNumberOfFiles(Long numberOfFiles)
The number of data files referenced by the
DataSource . |
void |
setRDSMetadata(RDSMetadata rDSMetadata) |
void |
setRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
void |
setRoleARN(String roleARN) |
void |
setStartedAt(Date startedAt) |
void |
setStatus(EntityStatus status)
The current status of the
DataSource . |
void |
setStatus(String status)
The current status of the
DataSource . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DataSource |
withComputeStatistics(Boolean computeStatistics)
The parameter is
true if statistics need to be generated from the observation data. |
DataSource |
withComputeTime(Long computeTime) |
DataSource |
withCreatedAt(Date createdAt)
The time that the
DataSource was created. |
DataSource |
withCreatedByIamUser(String createdByIamUser)
The AWS user account from which the
DataSource was created. |
DataSource |
withDataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource . |
DataSource |
withDataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
DataSource |
withDataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the
DataSource references. |
DataSource |
withDataSourceId(String dataSourceId)
The ID that is assigned to the
DataSource during creation. |
DataSource |
withFinishedAt(Date finishedAt) |
DataSource |
withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
DataSource |
withMessage(String message)
A description of the most recent details about creating the
DataSource . |
DataSource |
withName(String name)
A user-supplied name or description of the
DataSource . |
DataSource |
withNumberOfFiles(Long numberOfFiles)
The number of data files referenced by the
DataSource . |
DataSource |
withRDSMetadata(RDSMetadata rDSMetadata) |
DataSource |
withRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
DataSource |
withRoleARN(String roleARN) |
DataSource |
withStartedAt(Date startedAt) |
DataSource |
withStatus(EntityStatus status)
The current status of the
DataSource . |
DataSource |
withStatus(String status)
The current status of the
DataSource . |
public void setDataSourceId(String dataSourceId)
The ID that is assigned to the DataSource
during creation.
dataSourceId
- The ID that is assigned to the DataSource
during creation.public String getDataSourceId()
The ID that is assigned to the DataSource
during creation.
DataSource
during creation.public DataSource withDataSourceId(String dataSourceId)
The ID that is assigned to the DataSource
during creation.
dataSourceId
- The ID that is assigned to the DataSource
during creation.public void setDataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.
dataLocationS3
- The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.public String getDataLocationS3()
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.
DataSource
.public DataSource withDataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.
dataLocationS3
- The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.public void setDataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
dataRearrangement
- A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created.public String getDataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
DataSource
was created.public DataSource withDataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
dataRearrangement
- A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created.public void setCreatedByIamUser(String createdByIamUser)
The AWS user account from which the DataSource
was created. The account type can be either an AWS
root account or an AWS Identity and Access Management (IAM) user account.
createdByIamUser
- The AWS user account from which the DataSource
was created. The account type can be either an
AWS root account or an AWS Identity and Access Management (IAM) user account.public String getCreatedByIamUser()
The AWS user account from which the DataSource
was created. The account type can be either an AWS
root account or an AWS Identity and Access Management (IAM) user account.
DataSource
was created. The account type can be either
an AWS root account or an AWS Identity and Access Management (IAM) user account.public DataSource withCreatedByIamUser(String createdByIamUser)
The AWS user account from which the DataSource
was created. The account type can be either an AWS
root account or an AWS Identity and Access Management (IAM) user account.
createdByIamUser
- The AWS user account from which the DataSource
was created. The account type can be either an
AWS root account or an AWS Identity and Access Management (IAM) user account.public void setCreatedAt(Date createdAt)
The time that the DataSource
was created. The time is expressed in epoch time.
createdAt
- The time that the DataSource
was created. The time is expressed in epoch time.public Date getCreatedAt()
The time that the DataSource
was created. The time is expressed in epoch time.
DataSource
was created. The time is expressed in epoch time.public DataSource withCreatedAt(Date createdAt)
The time that the DataSource
was created. The time is expressed in epoch time.
createdAt
- The time that the DataSource
was created. The time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.public Date getLastUpdatedAt()
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
BatchPrediction
. The time is expressed in epoch
time.public DataSource withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.public void setDataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the DataSource
references.
dataSizeInBytes
- The total number of observations contained in the data files that the DataSource
references.public Long getDataSizeInBytes()
The total number of observations contained in the data files that the DataSource
references.
DataSource
references.public DataSource withDataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the DataSource
references.
dataSizeInBytes
- The total number of observations contained in the data files that the DataSource
references.public void setNumberOfFiles(Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public Long getNumberOfFiles()
The number of data files referenced by the DataSource
.
DataSource
.public DataSource withNumberOfFiles(Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public void setName(String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public String getName()
A user-supplied name or description of the DataSource
.
DataSource
.public DataSource withName(String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public void setStatus(String status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.status
- The current status of the DataSource
. This element can have one of the following values:
DataSource
.
DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.EntityStatus
public String getStatus()
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.
DataSource
is marked as deleted. It is not usable.EntityStatus
public DataSource withStatus(String status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.status
- The current status of the DataSource
. This element can have one of the following values:
DataSource
.
DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.EntityStatus
public void setStatus(EntityStatus status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.status
- The current status of the DataSource
. This element can have one of the following values:
DataSource
.
DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.EntityStatus
public DataSource withStatus(EntityStatus status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.status
- The current status of the DataSource
. This element can have one of the following values:
DataSource
.
DataSource
did not run to completion. It is not usable.DataSource
is marked as deleted. It is not usable.EntityStatus
public void setMessage(String message)
A description of the most recent details about creating the DataSource
.
message
- A description of the most recent details about creating the DataSource
.public String getMessage()
A description of the most recent details about creating the DataSource
.
DataSource
.public DataSource withMessage(String message)
A description of the most recent details about creating the DataSource
.
message
- A description of the most recent details about creating the DataSource
.public void setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- public RedshiftMetadata getRedshiftMetadata()
public DataSource withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- public void setRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata
- public RDSMetadata getRDSMetadata()
public DataSource withRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata
- public void setRoleARN(String roleARN)
roleARN
- public String getRoleARN()
public DataSource withRoleARN(String roleARN)
roleARN
- public void setComputeStatistics(Boolean computeStatistics)
The parameter is true
if statistics need to be generated from the observation data.
computeStatistics
- The parameter is true
if statistics need to be generated from the observation data.public Boolean getComputeStatistics()
The parameter is true
if statistics need to be generated from the observation data.
true
if statistics need to be generated from the observation data.public DataSource withComputeStatistics(Boolean computeStatistics)
The parameter is true
if statistics need to be generated from the observation data.
computeStatistics
- The parameter is true
if statistics need to be generated from the observation data.public Boolean isComputeStatistics()
The parameter is true
if statistics need to be generated from the observation data.
true
if statistics need to be generated from the observation data.public void setComputeTime(Long computeTime)
computeTime
- public Long getComputeTime()
public DataSource withComputeTime(Long computeTime)
computeTime
- public void setFinishedAt(Date finishedAt)
finishedAt
- public Date getFinishedAt()
public DataSource withFinishedAt(Date finishedAt)
finishedAt
- public void setStartedAt(Date startedAt)
startedAt
- public Date getStartedAt()
public DataSource withStartedAt(Date startedAt)
startedAt
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.