Class GetDataSourceResult
- All Implemented Interfaces:
Serializable, Cloneable
Represents the output of a GetDataSource operation and describes a
DataSource.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe parameter istrueif statistics need to be generated from the observation data.The time that theDataSourcewas created.The AWS user account from which theDataSourcewas created.The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).A JSON string that captures the splitting rearrangement requirement of theDataSource.The total size of observations in the data files.The ID assigned to theDataSourceat creation.The schema used by all of the data files of thisDataSource.The time of the most recent edit to theDataSource.A link to the file containining logs of either createDataSourceoperation.The description of the most recent details about creating theDataSource.getName()A user-supplied name or description of theDataSource.The number of data files referenced by theDataSource.The current status of theDataSource.inthashCode()The parameter istrueif statistics need to be generated from the observation data.voidsetComputeStatistics(Boolean computeStatistics) The parameter istrueif statistics need to be generated from the observation data.voidsetCreatedAt(Date createdAt) The time that theDataSourcewas created.voidsetCreatedByIamUser(String createdByIamUser) The AWS user account from which theDataSourcewas created.voidsetDataLocationS3(String dataLocationS3) The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).voidsetDataRearrangement(String dataRearrangement) A JSON string that captures the splitting rearrangement requirement of theDataSource.voidsetDataSizeInBytes(Long dataSizeInBytes) The total size of observations in the data files.voidsetDataSourceId(String dataSourceId) The ID assigned to theDataSourceat creation.voidsetDataSourceSchema(String dataSourceSchema) The schema used by all of the data files of thisDataSource.voidsetLastUpdatedAt(Date lastUpdatedAt) The time of the most recent edit to theDataSource.voidA link to the file containining logs of either createDataSourceoperation.voidsetMessage(String message) The description of the most recent details about creating theDataSource.voidA user-supplied name or description of theDataSource.voidsetNumberOfFiles(Long numberOfFiles) The number of data files referenced by theDataSource.voidsetRDSMetadata(RDSMetadata rDSMetadata) voidsetRedshiftMetadata(RedshiftMetadata redshiftMetadata) voidsetRoleARN(String roleARN) voidsetStatus(EntityStatus status) The current status of theDataSource.voidThe current status of theDataSource.toString()Returns a string representation of this object; useful for testing and debugging.withComputeStatistics(Boolean computeStatistics) The parameter istrueif statistics need to be generated from the observation data.withCreatedAt(Date createdAt) The time that theDataSourcewas created.withCreatedByIamUser(String createdByIamUser) The AWS user account from which theDataSourcewas created.withDataLocationS3(String dataLocationS3) The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).withDataRearrangement(String dataRearrangement) A JSON string that captures the splitting rearrangement requirement of theDataSource.withDataSizeInBytes(Long dataSizeInBytes) The total size of observations in the data files.withDataSourceId(String dataSourceId) The ID assigned to theDataSourceat creation.withDataSourceSchema(String dataSourceSchema) The schema used by all of the data files of thisDataSource.withLastUpdatedAt(Date lastUpdatedAt) The time of the most recent edit to theDataSource.withLogUri(String logUri) A link to the file containining logs of either createDataSourceoperation.withMessage(String message) The description of the most recent details about creating theDataSource.A user-supplied name or description of theDataSource.withNumberOfFiles(Long numberOfFiles) The number of data files referenced by theDataSource.withRDSMetadata(RDSMetadata rDSMetadata) withRedshiftMetadata(RedshiftMetadata redshiftMetadata) withRoleARN(String roleARN) withStatus(EntityStatus status) The current status of theDataSource.withStatus(String status) The current status of theDataSource.
-
Constructor Details
-
GetDataSourceResult
public GetDataSourceResult()
-
-
Method Details
-
setDataSourceId
The ID assigned to the
DataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.- Parameters:
dataSourceId- The ID assigned to theDataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.
-
getDataSourceId
The ID assigned to the
DataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.- Returns:
- The ID assigned to the
DataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.
-
withDataSourceId
The ID assigned to the
DataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.- Parameters:
dataSourceId- The ID assigned to theDataSourceat creation. This value should be identical to the value of theDataSourceIdin the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataLocationS3
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Parameters:
dataLocationS3- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
-
getDataLocationS3
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Returns:
- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
-
withDataLocationS3
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
- Parameters:
dataLocationS3- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataRearrangement
A JSON string that captures the splitting rearrangement requirement of the
DataSource.- Parameters:
dataRearrangement- A JSON string that captures the splitting rearrangement requirement of theDataSource.
-
getDataRearrangement
A JSON string that captures the splitting rearrangement requirement of the
DataSource.- Returns:
- A JSON string that captures the splitting rearrangement
requirement of the
DataSource.
-
withDataRearrangement
A JSON string that captures the splitting rearrangement requirement of the
DataSource.- Parameters:
dataRearrangement- A JSON string that captures the splitting rearrangement requirement of theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedByIamUser
The AWS user account from which the
DataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.- Parameters:
createdByIamUser- The AWS user account from which theDataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
-
getCreatedByIamUser
The AWS user account from which the
DataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.- Returns:
- The AWS user account from which the
DataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
-
withCreatedByIamUser
The AWS user account from which the
DataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.- Parameters:
createdByIamUser- The AWS user account from which theDataSourcewas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
The time that the
DataSourcewas created. The time is expressed in epoch time.- Parameters:
createdAt- The time that theDataSourcewas created. The time is expressed in epoch time.
-
getCreatedAt
The time that the
DataSourcewas created. The time is expressed in epoch time.- Returns:
- The time that the
DataSourcewas created. The time is expressed in epoch time.
-
withCreatedAt
The time that the
DataSourcewas created. The time is expressed in epoch time.- Parameters:
createdAt- The time that theDataSourcewas created. The time is expressed in epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUpdatedAt
The time of the most recent edit to the
DataSource. The time is expressed in epoch time.- Parameters:
lastUpdatedAt- The time of the most recent edit to theDataSource. The time is expressed in epoch time.
-
getLastUpdatedAt
The time of the most recent edit to the
DataSource. The time is expressed in epoch time.- Returns:
- The time of the most recent edit to the
DataSource. The time is expressed in epoch time.
-
withLastUpdatedAt
The time of the most recent edit to the
DataSource. The time is expressed in epoch time.- Parameters:
lastUpdatedAt- The time of the most recent edit to theDataSource. The time is expressed in epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataSizeInBytes
The total size of observations in the data files.
- Parameters:
dataSizeInBytes- The total size of observations in the data files.
-
getDataSizeInBytes
The total size of observations in the data files.
- Returns:
- The total size of observations in the data files.
-
withDataSizeInBytes
The total size of observations in the data files.
- Parameters:
dataSizeInBytes- The total size of observations in the data files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfFiles
The number of data files referenced by the
DataSource.- Parameters:
numberOfFiles- The number of data files referenced by theDataSource.
-
getNumberOfFiles
The number of data files referenced by the
DataSource.- Returns:
- The number of data files referenced by the
DataSource.
-
withNumberOfFiles
The number of data files referenced by the
DataSource.- Parameters:
numberOfFiles- The number of data files referenced by theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
A user-supplied name or description of the
DataSource.- Parameters:
name- A user-supplied name or description of theDataSource.
-
getName
A user-supplied name or description of the
DataSource.- Returns:
- A user-supplied name or description of the
DataSource.
-
withName
A user-supplied name or description of the
DataSource.- Parameters:
name- A user-supplied name or description of theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
- Parameters:
status- The current status of theDataSource. This element can have one of the following values:-
PENDING- Amazon Machine Language (Amazon ML) submitted a request to create aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
-
- See Also:
-
-
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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
- Returns:
- 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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
-
- See Also:
-
-
withStatus
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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
- Parameters:
status- The current status of theDataSource. This element can have one of the following values:-
PENDING- Amazon Machine Language (Amazon ML) submitted a request to create aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setStatus
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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
- Parameters:
status- The current status of theDataSource. This element can have one of the following values:-
PENDING- Amazon Machine Language (Amazon ML) submitted a request to create aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
-
- See Also:
-
-
withStatus
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 aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
- Parameters:
status- The current status of theDataSource. This element can have one of the following values:-
PENDING- Amazon Machine Language (Amazon ML) submitted a request to create aDataSource. -
INPROGRESS- The creation process is underway. -
FAILED- The request to create aDataSourcedid not run to completion. It is not usable. -
COMPLETED- The creation process completed successfully. -
DELETED- TheDataSourceis marked as deleted. It is not usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setLogUri
A link to the file containining logs of either create
DataSourceoperation.- Parameters:
logUri- A link to the file containining logs of either createDataSourceoperation.
-
getLogUri
A link to the file containining logs of either create
DataSourceoperation.- Returns:
- A link to the file containining logs of either create
DataSourceoperation.
-
withLogUri
A link to the file containining logs of either create
DataSourceoperation.- Parameters:
logUri- A link to the file containining logs of either createDataSourceoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
The description of the most recent details about creating the
DataSource.- Parameters:
message- The description of the most recent details about creating theDataSource.
-
getMessage
The description of the most recent details about creating the
DataSource.- Returns:
- The description of the most recent details about creating the
DataSource.
-
withMessage
The description of the most recent details about creating the
DataSource.- Parameters:
message- The description of the most recent details about creating theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRedshiftMetadata
- Parameters:
redshiftMetadata-
-
getRedshiftMetadata
- Returns:
-
withRedshiftMetadata
- Parameters:
redshiftMetadata-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRDSMetadata
- Parameters:
rDSMetadata-
-
getRDSMetadata
- Returns:
-
withRDSMetadata
- Parameters:
rDSMetadata-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleARN
- Parameters:
roleARN-
-
getRoleARN
- Returns:
-
withRoleARN
- Parameters:
roleARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComputeStatistics
The parameter is
trueif statistics need to be generated from the observation data.- Parameters:
computeStatistics- The parameter istrueif statistics need to be generated from the observation data.
-
getComputeStatistics
The parameter is
trueif statistics need to be generated from the observation data.- Returns:
- The parameter is
trueif statistics need to be generated from the observation data.
-
withComputeStatistics
The parameter is
trueif statistics need to be generated from the observation data.- Parameters:
computeStatistics- The parameter istrueif statistics need to be generated from the observation data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isComputeStatistics
The parameter is
trueif statistics need to be generated from the observation data.- Returns:
- The parameter is
trueif statistics need to be generated from the observation data.
-
setDataSourceSchema
The schema used by all of the data files of this
DataSource.Note This parameter is provided as part of the verbose format.
- Parameters:
dataSourceSchema- The schema used by all of the data files of thisDataSource.Note This parameter is provided as part of the verbose format.
-
getDataSourceSchema
The schema used by all of the data files of this
DataSource.Note This parameter is provided as part of the verbose format.
- Returns:
- The schema used by all of the data files of this
DataSource.Note This parameter is provided as part of the verbose format.
-
withDataSourceSchema
The schema used by all of the data files of this
DataSource.Note This parameter is provided as part of the verbose format.
- Parameters:
dataSourceSchema- The schema used by all of the data files of thisDataSource.Note This parameter is provided as part of the verbose format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-