public class DataSource
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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
.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
computeStatistics
The parameter is
true if statistics need to be generated
from the observation data. |
private java.util.Date |
createdAt
The time that the
DataSource was created. |
private java.lang.String |
createdByIamUser
The AWS user account from which the
DataSource was created. |
private java.lang.String |
dataLocationS3
The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a
DataSource . |
private java.lang.String |
dataRearrangement
A JSON string that represents the splitting requirement of a
Datasource . |
private java.lang.Long |
dataSizeInBytes
The total number of observations contained in the data files that the
DataSource references. |
private java.lang.String |
dataSourceId
The ID that is assigned to the
DataSource during creation. |
private java.util.Date |
lastUpdatedAt
The time of the most recent edit to the
BatchPrediction . |
private java.lang.String |
message
A description of the most recent details about creating the
DataSource . |
private java.lang.String |
name
A user-supplied name or description of the
DataSource . |
private java.lang.Long |
numberOfFiles
The number of data files referenced by the
DataSource . |
private RDSMetadata |
rDSMetadata |
private RedshiftMetadata |
redshiftMetadata |
private java.lang.String |
roleARN |
private java.lang.String |
status
The current status of the
DataSource . |
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getComputeStatistics()
The parameter is
true if statistics need to be generated
from the observation data. |
java.util.Date |
getCreatedAt()
The time that the
DataSource was created. |
java.lang.String |
getCreatedByIamUser()
The AWS user account from which the
DataSource was created. |
java.lang.String |
getDataLocationS3()
The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a
DataSource . |
java.lang.String |
getDataRearrangement()
A JSON string that represents the splitting requirement of a
Datasource . |
java.lang.Long |
getDataSizeInBytes()
The total number of observations contained in the data files that the
DataSource references. |
java.lang.String |
getDataSourceId()
The ID that is assigned to the
DataSource during creation. |
java.util.Date |
getLastUpdatedAt()
The time of the most recent edit to the
BatchPrediction . |
java.lang.String |
getMessage()
A description of the most recent details about creating the
DataSource . |
java.lang.String |
getName()
A user-supplied name or description of the
DataSource . |
java.lang.Long |
getNumberOfFiles()
The number of data files referenced by the
DataSource . |
RDSMetadata |
getRDSMetadata() |
RedshiftMetadata |
getRedshiftMetadata() |
java.lang.String |
getRoleARN() |
java.lang.String |
getStatus()
The current status of the
DataSource . |
int |
hashCode() |
java.lang.Boolean |
isComputeStatistics()
The parameter is
true if statistics need to be generated
from the observation data. |
void |
setComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is
true if statistics need to be generated
from the observation data. |
void |
setCreatedAt(java.util.Date createdAt)
The time that the
DataSource was created. |
void |
setCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the
DataSource was created. |
void |
setDataLocationS3(java.lang.String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a
DataSource . |
void |
setDataRearrangement(java.lang.String dataRearrangement)
A JSON string that represents the splitting requirement of a
Datasource . |
void |
setDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total number of observations contained in the data files that the
DataSource references. |
void |
setDataSourceId(java.lang.String dataSourceId)
The ID that is assigned to the
DataSource during creation. |
void |
setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
void |
setMessage(java.lang.String message)
A description of the most recent details about creating the
DataSource . |
void |
setName(java.lang.String name)
A user-supplied name or description of the
DataSource . |
void |
setNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the
DataSource . |
void |
setRDSMetadata(RDSMetadata rDSMetadata) |
void |
setRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
void |
setRoleARN(java.lang.String roleARN) |
void |
setStatus(EntityStatus status)
The current status of the
DataSource . |
void |
setStatus(java.lang.String status)
The current status of the
DataSource . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DataSource |
withComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is
true if statistics need to be generated
from the observation data. |
DataSource |
withCreatedAt(java.util.Date createdAt)
The time that the
DataSource was created. |
DataSource |
withCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the
DataSource was created. |
DataSource |
withDataLocationS3(java.lang.String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a
DataSource . |
DataSource |
withDataRearrangement(java.lang.String dataRearrangement)
A JSON string that represents the splitting requirement of a
Datasource . |
DataSource |
withDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total number of observations contained in the data files that the
DataSource references. |
DataSource |
withDataSourceId(java.lang.String dataSourceId)
The ID that is assigned to the
DataSource during creation. |
DataSource |
withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
DataSource |
withMessage(java.lang.String message)
A description of the most recent details about creating the
DataSource . |
DataSource |
withName(java.lang.String name)
A user-supplied name or description of the
DataSource . |
DataSource |
withNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the
DataSource . |
DataSource |
withRDSMetadata(RDSMetadata rDSMetadata) |
DataSource |
withRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
DataSource |
withRoleARN(java.lang.String roleARN) |
DataSource |
withStatus(EntityStatus status)
The current status of the
DataSource . |
DataSource |
withStatus(java.lang.String status)
The current status of the
DataSource . |
private java.lang.String dataSourceId
The ID that is assigned to the DataSource
during creation.
private java.lang.String dataLocationS3
The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a DataSource
.
private java.lang.String dataRearrangement
A JSON string that represents the splitting requirement of a
Datasource
.
private java.lang.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.
private java.util.Date createdAt
The time that the DataSource
was created. The time is
expressed in epoch time.
private java.util.Date lastUpdatedAt
The time of the most recent edit to the BatchPrediction
. The
time is expressed in epoch time.
private java.lang.Long dataSizeInBytes
The total number of observations contained in the data files that the
DataSource
references.
private java.lang.Long numberOfFiles
The number of data files referenced by the DataSource
.
private java.lang.String name
A user-supplied name or description of the DataSource
.
private java.lang.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.private java.lang.String message
A description of the most recent details about creating the
DataSource
.
private RedshiftMetadata redshiftMetadata
private RDSMetadata rDSMetadata
private java.lang.String roleARN
private java.lang.Boolean computeStatistics
The parameter is true
if statistics need to be generated
from the observation data.
public void setDataSourceId(java.lang.String dataSourceId)
The ID that is assigned to the DataSource
during creation.
dataSourceId
- The ID that is assigned to the DataSource
during
creation.public java.lang.String getDataSourceId()
The ID that is assigned to the DataSource
during creation.
DataSource
during
creation.public DataSource withDataSourceId(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String dataRearrangement)
A JSON string that represents the splitting requirement of a
Datasource
.
dataRearrangement
- A JSON string that represents the splitting requirement of a
Datasource
.public java.lang.String getDataRearrangement()
A JSON string that represents the splitting requirement of a
Datasource
.
Datasource
.public DataSource withDataRearrangement(java.lang.String dataRearrangement)
A JSON string that represents the splitting requirement of a
Datasource
.
dataRearrangement
- A JSON string that represents the splitting requirement of a
Datasource
.public void setCreatedByIamUser(java.lang.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 java.lang.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(java.lang.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(java.util.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 java.util.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(java.util.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(java.util.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 java.util.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(java.util.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(java.lang.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 java.lang.Long getDataSizeInBytes()
The total number of observations contained in the data files that the
DataSource
references.
DataSource
references.public DataSource withDataSizeInBytes(java.lang.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(java.lang.Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public java.lang.Long getNumberOfFiles()
The number of data files referenced by the DataSource
.
DataSource
.public DataSource withNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public void setName(java.lang.String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public java.lang.String getName()
A user-supplied name or description of the DataSource
.
DataSource
.public DataSource withName(java.lang.String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public void setStatus(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getMessage()
A description of the most recent details about creating the
DataSource
.
DataSource
.public DataSource withMessage(java.lang.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(java.lang.String roleARN)
roleARN
- public java.lang.String getRoleARN()
public DataSource withRoleARN(java.lang.String roleARN)
roleARN
- public void setComputeStatistics(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DataSource clone()
clone
in class java.lang.Object