public class GetDataSourceResult extends Object implements Serializable, Cloneable
 Represents the output of a GetDataSource operation and describes a
 DataSource.
 
| Constructor and Description | 
|---|
| GetDataSourceResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetDataSourceResult | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getComputeStatistics()
 The parameter is  trueif statistics need to be generated
 from the observation data. | 
| Date | getCreatedAt()
 The time that the  DataSourcewas created. | 
| String | getCreatedByIamUser()
 The AWS user account from which the  DataSourcewas created. | 
| String | getDataLocationS3()
 The location of the data file or directory in Amazon Simple Storage
 Service (Amazon S3). | 
| String | getDataRearrangement()
 A JSON string that captures the splitting rearrangement requirement of
 the  DataSource. | 
| Long | getDataSizeInBytes()
 The total size of observations in the data files. | 
| String | getDataSourceId()
 The ID assigned to the  DataSourceat creation. | 
| String | getDataSourceSchema()
 The schema used by all of the data files of this  DataSource. | 
| Date | getLastUpdatedAt()
 The time of the most recent edit to the  DataSource. | 
| String | getLogUri()
 A link to the file containining logs of either create
  DataSourceoperation. | 
| String | getMessage()
 The 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() | 
| String | getStatus()
 The current status of the  DataSource. | 
| int | hashCode() | 
| Boolean | isComputeStatistics()
 The parameter is  trueif statistics need to be generated
 from the observation data. | 
| void | setComputeStatistics(Boolean computeStatistics)
 The parameter is  trueif statistics need to be generated
 from the observation data. | 
| void | setCreatedAt(Date createdAt)
 The time that the  DataSourcewas created. | 
| void | setCreatedByIamUser(String createdByIamUser)
 The AWS user account from which the  DataSourcewas created. | 
| void | setDataLocationS3(String dataLocationS3)
 The location of the data file or directory in Amazon Simple Storage
 Service (Amazon S3). | 
| void | setDataRearrangement(String dataRearrangement)
 A JSON string that captures the splitting rearrangement requirement of
 the  DataSource. | 
| void | setDataSizeInBytes(Long dataSizeInBytes)
 The total size of observations in the data files. | 
| void | setDataSourceId(String dataSourceId)
 The ID assigned to the  DataSourceat creation. | 
| void | setDataSourceSchema(String dataSourceSchema)
 The schema used by all of the data files of this  DataSource. | 
| void | setLastUpdatedAt(Date lastUpdatedAt)
 The time of the most recent edit to the  DataSource. | 
| void | setLogUri(String logUri)
 A link to the file containining logs of either create
  DataSourceoperation. | 
| void | setMessage(String message)
 The 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 | 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. | 
| GetDataSourceResult | withComputeStatistics(Boolean computeStatistics)
 The parameter is  trueif statistics need to be generated
 from the observation data. | 
| GetDataSourceResult | withCreatedAt(Date createdAt)
 The time that the  DataSourcewas created. | 
| GetDataSourceResult | withCreatedByIamUser(String createdByIamUser)
 The AWS user account from which the  DataSourcewas created. | 
| GetDataSourceResult | withDataLocationS3(String dataLocationS3)
 The location of the data file or directory in Amazon Simple Storage
 Service (Amazon S3). | 
| GetDataSourceResult | withDataRearrangement(String dataRearrangement)
 A JSON string that captures the splitting rearrangement requirement of
 the  DataSource. | 
| GetDataSourceResult | withDataSizeInBytes(Long dataSizeInBytes)
 The total size of observations in the data files. | 
| GetDataSourceResult | withDataSourceId(String dataSourceId)
 The ID assigned to the  DataSourceat creation. | 
| GetDataSourceResult | withDataSourceSchema(String dataSourceSchema)
 The schema used by all of the data files of this  DataSource. | 
| GetDataSourceResult | withLastUpdatedAt(Date lastUpdatedAt)
 The time of the most recent edit to the  DataSource. | 
| GetDataSourceResult | withLogUri(String logUri)
 A link to the file containining logs of either create
  DataSourceoperation. | 
| GetDataSourceResult | withMessage(String message)
 The description of the most recent details about creating the
  DataSource. | 
| GetDataSourceResult | withName(String name)
 A user-supplied name or description of the  DataSource. | 
| GetDataSourceResult | withNumberOfFiles(Long numberOfFiles)
 The number of data files referenced by the  DataSource. | 
| GetDataSourceResult | withRDSMetadata(RDSMetadata rDSMetadata) | 
| GetDataSourceResult | withRedshiftMetadata(RedshiftMetadata redshiftMetadata) | 
| GetDataSourceResult | withRoleARN(String roleARN) | 
| GetDataSourceResult | withStatus(EntityStatus status)
 The current status of the  DataSource. | 
| GetDataSourceResult | withStatus(String status)
 The current status of the  DataSource. | 
public void setDataSourceId(String dataSourceId)
 The ID assigned to the DataSource at creation. This value
 should be identical to the value of the DataSourceId in the
 request.
 
dataSourceId - The ID assigned to the DataSource at creation. This
        value should be identical to the value of the
        DataSourceId in the request.public String getDataSourceId()
 The ID assigned to the DataSource at creation. This value
 should be identical to the value of the DataSourceId in the
 request.
 
DataSource at creation. This
         value should be identical to the value of the
         DataSourceId in the request.public GetDataSourceResult withDataSourceId(String dataSourceId)
 The ID assigned to the DataSource at creation. This value
 should be identical to the value of the DataSourceId in the
 request.
 
dataSourceId - The ID assigned to the DataSource at creation. This
        value should be identical to the value of the
        DataSourceId in the request.public void setDataLocationS3(String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
dataLocationS3 - The location of the data file or directory in Amazon Simple
        Storage Service (Amazon S3).public String getDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public GetDataSourceResult withDataLocationS3(String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
dataLocationS3 - The location of the data file or directory in Amazon Simple
        Storage Service (Amazon S3).public void setDataRearrangement(String dataRearrangement)
 A JSON string that captures the splitting rearrangement requirement of
 the DataSource.
 
dataRearrangement - A JSON string that captures the splitting rearrangement
        requirement of the DataSource.public String getDataRearrangement()
 A JSON string that captures the splitting rearrangement requirement of
 the DataSource.
 
DataSource.public GetDataSourceResult withDataRearrangement(String dataRearrangement)
 A JSON string that captures the splitting rearrangement requirement of
 the DataSource.
 
dataRearrangement - A JSON string that captures the splitting rearrangement
        requirement of the DataSource.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 GetDataSourceResult 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 GetDataSourceResult 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 DataSource. The time
 is expressed in epoch time.
 
lastUpdatedAt - The time of the most recent edit to the DataSource.
        The time is expressed in epoch time.public Date getLastUpdatedAt()
 The time of the most recent edit to the DataSource. The time
 is expressed in epoch time.
 
DataSource.
         The time is expressed in epoch time.public GetDataSourceResult withLastUpdatedAt(Date lastUpdatedAt)
 The time of the most recent edit to the DataSource. The time
 is expressed in epoch time.
 
lastUpdatedAt - The time of the most recent edit to the DataSource.
        The time is expressed in epoch time.public void setDataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
dataSizeInBytes - The total size of observations in the data files.public Long getDataSizeInBytes()
The total size of observations in the data files.
public GetDataSourceResult withDataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
dataSizeInBytes - The total size of observations in the data files.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 GetDataSourceResult 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 GetDataSourceResult 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:
 
PENDING - Amazon Machine Language (Amazon ML) submitted
 a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a DataSource
 did not run to completion. It is not usable.COMPLETED - The creation process completed successfully.
 DELETED - The 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:
        PENDING - Amazon Machine Language (Amazon ML)
        submitted a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a
        DataSource did not run to completion. It is not
        usable.COMPLETED - The creation process completed
        successfully.DELETED - The DataSource is marked
        as deleted. It is not usable.EntityStatuspublic String getStatus()
 The current status of the DataSource. This element can have
 one of the following values:
 
PENDING - Amazon Machine Language (Amazon ML) submitted
 a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a DataSource
 did not run to completion. It is not usable.COMPLETED - The creation process completed successfully.
 DELETED - The DataSource is marked as
 deleted. It is not usable.DataSource. This element
         can have one of the following values:
         PENDING - Amazon Machine Language (Amazon ML)
         submitted a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a
         DataSource did not run to completion. It is not
         usable.COMPLETED - The creation process completed
         successfully.DELETED - The DataSource is marked
         as deleted. It is not usable.EntityStatuspublic GetDataSourceResult withStatus(String status)
 The current status of the DataSource. This element can have
 one of the following values:
 
PENDING - Amazon Machine Language (Amazon ML) submitted
 a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a DataSource
 did not run to completion. It is not usable.COMPLETED - The creation process completed successfully.
 DELETED - The 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:
        PENDING - Amazon Machine Language (Amazon ML)
        submitted a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a
        DataSource did not run to completion. It is not
        usable.COMPLETED - The creation process completed
        successfully.DELETED - The DataSource is marked
        as deleted. It is not usable.EntityStatuspublic void setStatus(EntityStatus status)
 The current status of the DataSource. This element can have
 one of the following values:
 
PENDING - Amazon Machine Language (Amazon ML) submitted
 a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a DataSource
 did not run to completion. It is not usable.COMPLETED - The creation process completed successfully.
 DELETED - The 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:
        PENDING - Amazon Machine Language (Amazon ML)
        submitted a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a
        DataSource did not run to completion. It is not
        usable.COMPLETED - The creation process completed
        successfully.DELETED - The DataSource is marked
        as deleted. It is not usable.EntityStatuspublic GetDataSourceResult withStatus(EntityStatus status)
 The current status of the DataSource. This element can have
 one of the following values:
 
PENDING - Amazon Machine Language (Amazon ML) submitted
 a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a DataSource
 did not run to completion. It is not usable.COMPLETED - The creation process completed successfully.
 DELETED - The 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:
        PENDING - Amazon Machine Language (Amazon ML)
        submitted a request to create a DataSource.INPROGRESS - The creation process is underway.FAILED - The request to create a
        DataSource did not run to completion. It is not
        usable.COMPLETED - The creation process completed
        successfully.DELETED - The DataSource is marked
        as deleted. It is not usable.EntityStatuspublic void setLogUri(String logUri)
 A link to the file containining logs of either create
 DataSource operation.
 
logUri - A link to the file containining logs of either create
        DataSource operation.public String getLogUri()
 A link to the file containining logs of either create
 DataSource operation.
 
DataSource operation.public GetDataSourceResult withLogUri(String logUri)
 A link to the file containining logs of either create
 DataSource operation.
 
logUri - A link to the file containining logs of either create
        DataSource operation.public void setMessage(String message)
 The description of the most recent details about creating the
 DataSource.
 
message - The description of the most recent details about creating the
        DataSource.public String getMessage()
 The description of the most recent details about creating the
 DataSource.
 
DataSource.public GetDataSourceResult withMessage(String message)
 The description of the most recent details about creating the
 DataSource.
 
message - The description of the most recent details about creating the
        DataSource.public void setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata - public RedshiftMetadata getRedshiftMetadata()
public GetDataSourceResult withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata - public void setRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata - public RDSMetadata getRDSMetadata()
public GetDataSourceResult withRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata - public void setRoleARN(String roleARN)
roleARN - public String getRoleARN()
public GetDataSourceResult 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 GetDataSourceResult 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 setDataSourceSchema(String dataSourceSchema)
 The schema used by all of the data files of this DataSource.
 
This parameter is provided as part of the verbose format.
dataSourceSchema - The schema used by all of the data files of this
        DataSource. This parameter is provided as part of the verbose format.
public String getDataSourceSchema()
 The schema used by all of the data files of this DataSource.
 
This parameter is provided as part of the verbose format.
DataSource. This parameter is provided as part of the verbose format.
public GetDataSourceResult withDataSourceSchema(String dataSourceSchema)
 The schema used by all of the data files of this DataSource.
 
This parameter is provided as part of the verbose format.
dataSourceSchema - The schema used by all of the data files of this
        DataSource. This parameter is provided as part of the verbose format.
public String toString()
toString in class ObjectObject.toString()public GetDataSourceResult clone()
Copyright © 2015. All rights reserved.