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()
boolean
The parameter istrue
if statistics need to be generated from the observation data.The time that theDataSource
was created.The AWS user account from which theDataSource
was 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 theDataSource
at 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 createDataSource
operation.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
.int
hashCode()
The parameter istrue
if statistics need to be generated from the observation data.void
setComputeStatistics
(Boolean computeStatistics) The parameter istrue
if statistics need to be generated from the observation data.void
setCreatedAt
(Date createdAt) The time that theDataSource
was created.void
setCreatedByIamUser
(String createdByIamUser) The AWS user account from which theDataSource
was 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 theDataSource
.void
setDataSizeInBytes
(Long dataSizeInBytes) The total size of observations in the data files.void
setDataSourceId
(String dataSourceId) The ID assigned to theDataSource
at creation.void
setDataSourceSchema
(String dataSourceSchema) The schema used by all of the data files of thisDataSource
.void
setLastUpdatedAt
(Date lastUpdatedAt) The time of the most recent edit to theDataSource
.void
A link to the file containining logs of either createDataSource
operation.void
setMessage
(String message) The description of the most recent details about creating theDataSource
.void
A user-supplied name or description of theDataSource
.void
setNumberOfFiles
(Long numberOfFiles) The number of data files referenced by theDataSource
.void
setRDSMetadata
(RDSMetadata rDSMetadata) void
setRedshiftMetadata
(RedshiftMetadata redshiftMetadata) void
setRoleARN
(String roleARN) void
setStatus
(EntityStatus status) The current status of theDataSource
.void
The current status of theDataSource
.toString()
Returns a string representation of this object; useful for testing and debugging.withComputeStatistics
(Boolean computeStatistics) The parameter istrue
if statistics need to be generated from the observation data.withCreatedAt
(Date createdAt) The time that theDataSource
was created.withCreatedByIamUser
(String createdByIamUser) The AWS user account from which theDataSource
was 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 theDataSource
at 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 createDataSource
operation.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
DataSource
at creation. This value should be identical to the value of theDataSourceId
in the request.- Parameters:
dataSourceId
- The ID assigned to theDataSource
at creation. This value should be identical to the value of theDataSourceId
in the request.
-
getDataSourceId
The ID assigned to the
DataSource
at creation. This value should be identical to the value of theDataSourceId
in the request.- Returns:
- The ID assigned to the
DataSource
at creation. This value should be identical to the value of theDataSourceId
in the request.
-
withDataSourceId
The ID assigned to the
DataSource
at creation. This value should be identical to the value of theDataSourceId
in the request.- Parameters:
dataSourceId
- The ID assigned to theDataSource
at creation. This value should be identical to the value of theDataSourceId
in 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
DataSource
was 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 theDataSource
was 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
DataSource
was 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
DataSource
was 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
DataSource
was 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 theDataSource
was 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
DataSource
was created. The time is expressed in epoch time.- Parameters:
createdAt
- The time that theDataSource
was created. The time is expressed in epoch time.
-
getCreatedAt
The time that the
DataSource
was created. The time is expressed in epoch time.- Returns:
- The time that the
DataSource
was created. The time is expressed in epoch time.
-
withCreatedAt
The time that the
DataSource
was created. The time is expressed in epoch time.- Parameters:
createdAt
- The time that theDataSource
was 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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 aDataSource
did not run to completion. It is not usable. -
COMPLETED
- The creation process completed successfully. -
DELETED
- TheDataSource
is 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
DataSource
operation.- Parameters:
logUri
- A link to the file containining logs of either createDataSource
operation.
-
getLogUri
A link to the file containining logs of either create
DataSource
operation.- Returns:
- A link to the file containining logs of either create
DataSource
operation.
-
withLogUri
A link to the file containining logs of either create
DataSource
operation.- Parameters:
logUri
- A link to the file containining logs of either createDataSource
operation.- 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
true
if statistics need to be generated from the observation data.- Parameters:
computeStatistics
- The parameter istrue
if statistics need to be generated from the observation data.
-
getComputeStatistics
The parameter is
true
if statistics need to be generated from the observation data.- Returns:
- The parameter is
true
if statistics need to be generated from the observation data.
-
withComputeStatistics
The parameter is
true
if statistics need to be generated from the observation data.- Parameters:
computeStatistics
- The parameter istrue
if 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
true
if statistics need to be generated from the observation data.- Returns:
- The parameter is
true
if 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-