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()The datasource details that are specific to Amazon RDS. | 
| RedshiftMetadata | getRedshiftMetadata()Describes the  DataSourcedetails 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  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)The datasource details that are specific to Amazon RDS. | 
| void | setRedshiftMetadata(RedshiftMetadata redshiftMetadata)Describes the  DataSourcedetails 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. | 
| 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)The datasource details that are specific to Amazon RDS. | 
| GetDataSourceResult | withRedshiftMetadata(RedshiftMetadata redshiftMetadata)Describes the  DataSourcedetails specific to Amazon
 Redshift. | 
| GetDataSourceResult | withRoleARN(String roleARN)The Amazon Resource Name (ARN) of an AWS
 IAM Role such as the following:
 arn:aws:iam::account:role/rolename. | 
| GetDataSourceResult | withStatus(EntityStatus status)The current status of the  DataSource. | 
| GetDataSourceResult | withStatus(String status)The current status of the  DataSource. | 
public String getDataSourceId()
DataSource at creation. This value
 should be identical to the value of the DataSourceId in
 the request.
 
 Constraints:
 Length: 1 - 64
 Pattern: [a-zA-Z0-9_.-]+
DataSource at creation. This value
         should be identical to the value of the DataSourceId in
         the request.public void setDataSourceId(String dataSourceId)
DataSource at creation. This value
 should be identical to the value of the DataSourceId in
 the request.
 
 Constraints:
 Length: 1 - 64
 Pattern: [a-zA-Z0-9_.-]+
dataSourceId - The ID assigned to the DataSource at creation. This value
         should be identical to the value of the DataSourceId in
         the request.public GetDataSourceResult withDataSourceId(String dataSourceId)
DataSource at creation. This value
 should be identical to the value of the DataSourceId in
 the request.
 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 assigned to the DataSource at creation. This value
         should be identical to the value of the DataSourceId in
         the request.public String getDataLocationS3()
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
public void setDataLocationS3(String dataLocationS3)
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location of the data file or directory in Amazon Simple Storage
         Service (Amazon S3).public GetDataSourceResult withDataLocationS3(String dataLocationS3)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
dataLocationS3 - The location of the data file or directory in Amazon Simple Storage
         Service (Amazon S3).public String getDataRearrangement()
DataSource.DataSource.public void setDataRearrangement(String dataRearrangement)
DataSource.dataRearrangement - A JSON string that captures the splitting rearrangement requirement of
         the DataSource.public GetDataSourceResult withDataRearrangement(String dataRearrangement)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
dataRearrangement - A JSON string that captures the splitting rearrangement requirement of
         the 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 GetDataSourceResult 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 GetDataSourceResult 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()
DataSource. The
 time is expressed in epoch time.DataSource. The
         time is expressed in epoch time.public void setLastUpdatedAt(Date lastUpdatedAt)
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 GetDataSourceResult withLastUpdatedAt(Date lastUpdatedAt)
DataSource. 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 DataSource. The
         time is expressed in epoch time.public Long getDataSizeInBytes()
public void setDataSizeInBytes(Long dataSizeInBytes)
dataSizeInBytes - The total size of observations in the data files.public GetDataSourceResult withDataSizeInBytes(Long dataSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
dataSizeInBytes - The total size of observations in the data files.public Long getNumberOfFiles()
DataSource.DataSource.public void setNumberOfFiles(Long numberOfFiles)
DataSource.numberOfFiles - The number of data files referenced by the DataSource.public GetDataSourceResult 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 GetDataSourceResult 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: 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.
 Constraints:
 Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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(String status)
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.
 Constraints:
 Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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(String status)
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.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: 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)
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.
 Constraints:
 Allowed Values: PENDING, INPROGRESS, FAILED, COMPLETED, DELETED
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)
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.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: 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 getLogUri()
DataSource operation.DataSource operation.public void setLogUri(String logUri)
DataSource operation.logUri - A link to the file containining logs of either create
         DataSource operation.public GetDataSourceResult withLogUri(String logUri)
DataSource operation.
 Returns a reference to this object so that method calls can be chained together.
logUri - A link to the file containining logs of either create
         DataSource operation.public String getMessage()
DataSource.
 
 Constraints:
 Length: 0 - 10240
DataSource.public void setMessage(String message)
DataSource.
 
 Constraints:
 Length: 0 - 10240
message - The description of the most recent details about creating the
         DataSource.public GetDataSourceResult withMessage(String message)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 10240
message - The 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 GetDataSourceResult 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 GetDataSourceResult 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 GetDataSourceResult 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 GetDataSourceResult 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 getDataSourceSchema()
DataSource. This parameter is provided as part of the verbose format.
 Constraints:
 Length: 0 - 131071
DataSource. This parameter is provided as part of the verbose format.
public void setDataSourceSchema(String dataSourceSchema)
DataSource. This parameter is provided as part of the verbose format.
 Constraints:
 Length: 0 - 131071
dataSourceSchema - The schema used by all of the data files of this
         DataSource. This parameter is provided as part of the verbose format.
public GetDataSourceResult withDataSourceSchema(String dataSourceSchema)
DataSource. This parameter is provided as part of the verbose format.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 131071
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.