Class GetDataSourceResult
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.GetDataSourceResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetDataSourceResult extends Object implements Serializable, Cloneable
Represents the output of a GetDataSource operation and describes a
DataSource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDataSourceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDataSourceResultclone()booleanequals(Object obj)BooleangetComputeStatistics()The parameter istrueif statistics need to be generated from the observation data.DategetCreatedAt()The time that theDataSourcewas created.StringgetCreatedByIamUser()The AWS user account from which theDataSourcewas created.StringgetDataLocationS3()The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).StringgetDataRearrangement()A JSON string that captures the splitting rearrangement requirement of theDataSource.LonggetDataSizeInBytes()The total size of observations in the data files.StringgetDataSourceId()The ID assigned to theDataSourceat creation.StringgetDataSourceSchema()The schema used by all of the data files of thisDataSource.DategetLastUpdatedAt()The time of the most recent edit to theDataSource.StringgetLogUri()A link to the file containining logs of either createDataSourceoperation.StringgetMessage()The description of the most recent details about creating theDataSource.StringgetName()A user-supplied name or description of theDataSource.LonggetNumberOfFiles()The number of data files referenced by theDataSource.RDSMetadatagetRDSMetadata()RedshiftMetadatagetRedshiftMetadata()StringgetRoleARN()StringgetStatus()The current status of theDataSource.inthashCode()BooleanisComputeStatistics()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.voidsetLogUri(String logUri)A link to the file containining logs of either createDataSourceoperation.voidsetMessage(String message)The description of the most recent details about creating theDataSource.voidsetName(String name)A 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.voidsetStatus(String status)The current status of theDataSource.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetDataSourceResultwithComputeStatistics(Boolean computeStatistics)The parameter istrueif statistics need to be generated from the observation data.GetDataSourceResultwithCreatedAt(Date createdAt)The time that theDataSourcewas created.GetDataSourceResultwithCreatedByIamUser(String createdByIamUser)The AWS user account from which theDataSourcewas created.GetDataSourceResultwithDataLocationS3(String dataLocationS3)The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).GetDataSourceResultwithDataRearrangement(String dataRearrangement)A JSON string that captures the splitting rearrangement requirement of theDataSource.GetDataSourceResultwithDataSizeInBytes(Long dataSizeInBytes)The total size of observations in the data files.GetDataSourceResultwithDataSourceId(String dataSourceId)The ID assigned to theDataSourceat creation.GetDataSourceResultwithDataSourceSchema(String dataSourceSchema)The schema used by all of the data files of thisDataSource.GetDataSourceResultwithLastUpdatedAt(Date lastUpdatedAt)The time of the most recent edit to theDataSource.GetDataSourceResultwithLogUri(String logUri)A link to the file containining logs of either createDataSourceoperation.GetDataSourceResultwithMessage(String message)The description of the most recent details about creating theDataSource.GetDataSourceResultwithName(String name)A user-supplied name or description of theDataSource.GetDataSourceResultwithNumberOfFiles(Long numberOfFiles)The number of data files referenced by theDataSource.GetDataSourceResultwithRDSMetadata(RDSMetadata rDSMetadata)GetDataSourceResultwithRedshiftMetadata(RedshiftMetadata redshiftMetadata)GetDataSourceResultwithRoleARN(String roleARN)GetDataSourceResultwithStatus(EntityStatus status)The current status of theDataSource.GetDataSourceResultwithStatus(String status)The current status of theDataSource.
-
-
-
Method Detail
-
setDataSourceId
public void setDataSourceId(String dataSourceId)
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
public String 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
public GetDataSourceResult withDataSourceId(String dataSourceId)
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
public void setDataLocationS3(String dataLocationS3)
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
public String 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
public GetDataSourceResult withDataLocationS3(String dataLocationS3)
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
public void setDataRearrangement(String dataRearrangement)
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
public String 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
public GetDataSourceResult withDataRearrangement(String dataRearrangement)
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
public void setCreatedByIamUser(String createdByIamUser)
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
public String 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
public GetDataSourceResult withCreatedByIamUser(String createdByIamUser)
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
public void setCreatedAt(Date createdAt)
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
public Date 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
public GetDataSourceResult withCreatedAt(Date createdAt)
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
public void setLastUpdatedAt(Date lastUpdatedAt)
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
public Date 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
public GetDataSourceResult withLastUpdatedAt(Date lastUpdatedAt)
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
public void setDataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
- Parameters:
dataSizeInBytes- The total size of observations in the data files.
-
getDataSizeInBytes
public Long getDataSizeInBytes()
The total size of observations in the data files.
- Returns:
- The total size of observations in the data files.
-
withDataSizeInBytes
public GetDataSourceResult withDataSizeInBytes(Long dataSizeInBytes)
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
public void setNumberOfFiles(Long numberOfFiles)
The number of data files referenced by the
DataSource.- Parameters:
numberOfFiles- The number of data files referenced by theDataSource.
-
getNumberOfFiles
public Long getNumberOfFiles()
The number of data files referenced by the
DataSource.- Returns:
- The number of data files referenced by the
DataSource.
-
withNumberOfFiles
public GetDataSourceResult withNumberOfFiles(Long numberOfFiles)
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
public void setName(String name)
A user-supplied name or description of the
DataSource.- Parameters:
name- A user-supplied name or description of theDataSource.
-
getName
public String getName()
A user-supplied name or description of the
DataSource.- Returns:
- A user-supplied name or description of the
DataSource.
-
withName
public GetDataSourceResult withName(String name)
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
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 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:
EntityStatus
-
-
getStatus
public 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 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:
EntityStatus
-
-
withStatus
public 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 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:
EntityStatus
-
-
setStatus
public 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 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:
EntityStatus
-
-
withStatus
public 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 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:
EntityStatus
-
-
setLogUri
public void setLogUri(String logUri)
A link to the file containining logs of either create
DataSourceoperation.- Parameters:
logUri- A link to the file containining logs of either createDataSourceoperation.
-
getLogUri
public String 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
public GetDataSourceResult withLogUri(String logUri)
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
public void setMessage(String message)
The description of the most recent details about creating the
DataSource.- Parameters:
message- The description of the most recent details about creating theDataSource.
-
getMessage
public String 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
public GetDataSourceResult withMessage(String message)
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
public void setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
- Parameters:
redshiftMetadata-
-
getRedshiftMetadata
public RedshiftMetadata getRedshiftMetadata()
- Returns:
-
withRedshiftMetadata
public GetDataSourceResult withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
- Parameters:
redshiftMetadata-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRDSMetadata
public void setRDSMetadata(RDSMetadata rDSMetadata)
- Parameters:
rDSMetadata-
-
getRDSMetadata
public RDSMetadata getRDSMetadata()
- Returns:
-
withRDSMetadata
public GetDataSourceResult withRDSMetadata(RDSMetadata rDSMetadata)
- Parameters:
rDSMetadata-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleARN
public void setRoleARN(String roleARN)
- Parameters:
roleARN-
-
getRoleARN
public String getRoleARN()
- Returns:
-
withRoleARN
public GetDataSourceResult withRoleARN(String roleARN)
- Parameters:
roleARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComputeStatistics
public void setComputeStatistics(Boolean computeStatistics)
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
public Boolean 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
public GetDataSourceResult withComputeStatistics(Boolean computeStatistics)
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
public Boolean 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
public void setDataSourceSchema(String dataSourceSchema)
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
public String 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
public GetDataSourceResult withDataSourceSchema(String dataSourceSchema)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDataSourceResult clone()
-
-