public class DataSource extends Object implements Serializable, 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 .
| 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. |
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 requirement of a
Datasource. |
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 |
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()
The datasource details that are specific to Amazon RDS.
|
RedshiftMetadata |
getRedshiftMetadata()
Describes the
DataSource details specific to Amazon
Redshift. |
String |
getRoleARN()
The Amazon Resource Name (ARN) of an AWS
IAM Role such as the following:
arn:aws:iam::account:role/rolename.
|
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 |
setComputeStatistics(Boolean computeStatistics)
The parameter is
true if statistics need to be generated
from the observation data. |
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 requirement of a
Datasource. |
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 |
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)
The datasource details that are specific to Amazon RDS.
|
void |
setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
Describes the
DataSource details specific to Amazon
Redshift. |
void |
setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of an AWS
IAM Role such as the following:
arn:aws:iam::account:role/rolename.
|
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 |
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 requirement of a
Datasource. |
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 |
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)
The datasource details that are specific to Amazon RDS.
|
DataSource |
withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
Describes the
DataSource details specific to Amazon
Redshift. |
DataSource |
withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of an AWS
IAM Role such as the following:
arn:aws:iam::account:role/rolename.
|
DataSource |
withStatus(EntityStatus status)
The current status of the
DataSource. |
DataSource |
withStatus(String status)
The current status of the
DataSource. |
public String getDataSourceId()
DataSource during
creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
DataSource during
creation.public void setDataSourceId(String dataSourceId)
DataSource during
creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId - The ID that is assigned to the DataSource during
creation.public DataSource withDataSourceId(String dataSourceId)
DataSource during
creation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId - The ID that is assigned to the DataSource during
creation.public String getDataLocationS3()
DataSource.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
DataSource.public void setDataLocationS3(String dataLocationS3)
DataSource.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a DataSource.public DataSource withDataLocationS3(String dataLocationS3)
DataSource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a DataSource.public String getDataRearrangement()
Datasource.Datasource.public void setDataRearrangement(String dataRearrangement)
Datasource.dataRearrangement - A JSON string that represents the splitting requirement of a
Datasource.public DataSource withDataRearrangement(String dataRearrangement)
Datasource.
Returns a reference to this object so that method calls can be chained together.
dataRearrangement - A JSON string that represents the splitting requirement of a
Datasource.public String getCreatedByIamUser()
DataSource was
created. The account type can be either an AWS root account or an AWS
Identity and Access Management (IAM) user account.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
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 setCreatedByIamUser(String createdByIamUser)
DataSource was
created. The account type can be either an AWS root account or an AWS
Identity and Access Management (IAM) user account.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
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 DataSource withCreatedByIamUser(String createdByIamUser)
DataSource was
created. The account type can be either an AWS root account or an AWS
Identity and Access Management (IAM) user account.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:iam::[0-9]+:((user/.+)|(root))
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 Date getCreatedAt()
DataSource was created. The time is
expressed in epoch time.DataSource was created. The time is
expressed in epoch time.public void setCreatedAt(Date createdAt)
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 DataSource withCreatedAt(Date createdAt)
DataSource was created. The time is
expressed in epoch time.
Returns a reference to this object so that method calls can be chained together.
createdAt - The time that the DataSource was created. The time is
expressed in epoch time.public Date getLastUpdatedAt()
BatchPrediction.
The time is expressed in epoch time.BatchPrediction.
The time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
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 DataSource withLastUpdatedAt(Date lastUpdatedAt)
BatchPrediction.
The time is expressed in epoch time.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt - The time of the most recent edit to the BatchPrediction.
The time is expressed in epoch time.public Long getDataSizeInBytes()
DataSource references.DataSource references.public void setDataSizeInBytes(Long dataSizeInBytes)
DataSource references.dataSizeInBytes - The total number of observations contained in the data files that the
DataSource references.public DataSource withDataSizeInBytes(Long dataSizeInBytes)
DataSource references.
Returns a reference to this object so that method calls can be chained together.
dataSizeInBytes - The total number of observations contained in the data files that the
DataSource references.public Long getNumberOfFiles()
DataSource.DataSource.public void setNumberOfFiles(Long numberOfFiles)
DataSource.numberOfFiles - The number of data files referenced by the DataSource.public DataSource withNumberOfFiles(Long numberOfFiles)
DataSource.
Returns a reference to this object so that method calls can be chained together.
numberOfFiles - The number of data files referenced by the DataSource.public String getName()
DataSource.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
DataSource.public void setName(String name)
DataSource.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
name - A user-supplied name or description of the DataSource.public DataSource withName(String name)
DataSource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
name - A user-supplied name or description of the DataSource.public String getStatus()
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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.EntityStatuspublic void setStatus(String status)
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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.EntityStatuspublic DataSource withStatus(String status)
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.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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.EntityStatuspublic void setStatus(EntityStatus status)
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.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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.EntityStatuspublic DataSource withStatus(EntityStatus status)
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.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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.EntityStatuspublic String getMessage()
DataSource.
Constraints:
Length: 0 - 10240
DataSource.public void setMessage(String message)
DataSource.
Constraints:
Length: 0 - 10240
message - A description of the most recent details about creating the
DataSource.public DataSource withMessage(String message)
DataSource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10240
message - A description of the most recent details about creating the
DataSource.public RedshiftMetadata getRedshiftMetadata()
DataSource details specific to Amazon
Redshift.DataSource details specific to Amazon
Redshift.public void setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
DataSource details specific to Amazon
Redshift.redshiftMetadata - Describes the DataSource details specific to Amazon
Redshift.public DataSource withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
DataSource details specific to Amazon
Redshift.
Returns a reference to this object so that method calls can be chained together.
redshiftMetadata - Describes the DataSource details specific to Amazon
Redshift.public RDSMetadata getRDSMetadata()
public void setRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata - The datasource details that are specific to Amazon RDS.public DataSource withRDSMetadata(RDSMetadata rDSMetadata)
Returns a reference to this object so that method calls can be chained together.
rDSMetadata - The datasource details that are specific to Amazon RDS.public String getRoleARN()
Constraints:
Length: 1 - 100
public void setRoleARN(String roleARN)
Constraints:
Length: 1 - 100
roleARN - The Amazon Resource Name (ARN) of an AWS
IAM Role such as the following:
arn:aws:iam::account:role/rolename.public DataSource withRoleARN(String roleARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
roleARN - The Amazon Resource Name (ARN) of an AWS
IAM Role such as the following:
arn:aws:iam::account:role/rolename.public Boolean isComputeStatistics()
true if statistics need to be generated
from the observation data.true if statistics need to be generated
from the observation data.public void setComputeStatistics(Boolean computeStatistics)
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 DataSource withComputeStatistics(Boolean computeStatistics)
true if statistics need to be generated
from the observation data.
Returns a reference to this object so that method calls can be chained together.
computeStatistics - The parameter is true if statistics need to be generated
from the observation data.public Boolean getComputeStatistics()
true if statistics need to be generated
from the observation data.true if statistics need to be generated
from the observation data.public String toString()
toString in class ObjectObject.toString()public DataSource clone()
Copyright © 2015. All rights reserved.