@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> 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
true if statistics need to be generated from the observation data. |
Long |
getComputeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource , normalized and scaled on computation resources. |
Date |
getCreatedAt()
The time that the
DataSource was created. |
String |
getCreatedByIamUser()
The AWS user account from which the
DataSource was created. |
String |
getDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
String |
getDataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
Long |
getDataSizeInBytes()
The total size of observations in the data files.
|
String |
getDataSourceId()
The ID assigned to the
DataSource at creation. |
String |
getDataSourceSchema()
The schema used by all of the data files of this
DataSource . |
Date |
getFinishedAt()
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED . |
Date |
getLastUpdatedAt()
The time of the most recent edit to the
DataSource . |
String |
getLogUri()
A link to the file containing logs of
CreateDataSourceFrom* operations. |
String |
getMessage()
The user-supplied 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() |
Date |
getStartedAt()
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS . |
String |
getStatus()
The current status of the
DataSource . |
int |
hashCode() |
Boolean |
isComputeStatistics()
The parameter is
true if statistics need to be generated from the observation data. |
void |
setComputeStatistics(Boolean computeStatistics)
The parameter is
true if statistics need to be generated from the observation data. |
void |
setComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource , normalized and scaled on computation resources. |
void |
setCreatedAt(Date createdAt)
The time that the
DataSource was created. |
void |
setCreatedByIamUser(String createdByIamUser)
The AWS user account from which the
DataSource 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 represents the splitting and rearrangement requirement used when this
DataSource
was created. |
void |
setDataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
|
void |
setDataSourceId(String dataSourceId)
The ID assigned to the
DataSource at creation. |
void |
setDataSourceSchema(String dataSourceSchema)
The schema used by all of the data files of this
DataSource . |
void |
setFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED . |
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
DataSource . |
void |
setLogUri(String logUri)
A link to the file containing logs of
CreateDataSourceFrom* operations. |
void |
setMessage(String message)
The user-supplied 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 |
setStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS . |
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
true if statistics need to be generated from the observation data. |
GetDataSourceResult |
withComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource , normalized and scaled on computation resources. |
GetDataSourceResult |
withCreatedAt(Date createdAt)
The time that the
DataSource was created. |
GetDataSourceResult |
withCreatedByIamUser(String createdByIamUser)
The AWS user account from which the
DataSource was 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 represents the splitting and rearrangement requirement used when this
DataSource
was created. |
GetDataSourceResult |
withDataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
|
GetDataSourceResult |
withDataSourceId(String dataSourceId)
The ID assigned to the
DataSource at creation. |
GetDataSourceResult |
withDataSourceSchema(String dataSourceSchema)
The schema used by all of the data files of this
DataSource . |
GetDataSourceResult |
withFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED . |
GetDataSourceResult |
withLastUpdatedAt(Date lastUpdatedAt)
The time of the most recent edit to the
DataSource . |
GetDataSourceResult |
withLogUri(String logUri)
A link to the file containing logs of
CreateDataSourceFrom* operations. |
GetDataSourceResult |
withMessage(String message)
The user-supplied 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 |
withStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS . |
GetDataSourceResult |
withStatus(EntityStatus status)
The current status of the
DataSource . |
GetDataSourceResult |
withStatus(String status)
The current status of the
DataSource . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 represents the splitting and rearrangement requirement used when this DataSource
was created.
dataRearrangement
- A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created.public String getDataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
DataSource
was created.public GetDataSourceResult withDataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
dataRearrangement
- A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created.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 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 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.EntityStatus
public String getStatus()
The current status of the DataSource
. This element can have one of the following values:
PENDING
- 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 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.EntityStatus
public GetDataSourceResult withStatus(String status)
The current status of the DataSource
. This element can have one of the following values:
PENDING
- 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 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.EntityStatus
public void setStatus(EntityStatus status)
The current status of the DataSource
. This element can have one of the following values:
PENDING
- 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 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.EntityStatus
public GetDataSourceResult withStatus(EntityStatus status)
The current status of the DataSource
. This element can have one of the following values:
PENDING
- 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 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.EntityStatus
public void setLogUri(String logUri)
A link to the file containing logs of CreateDataSourceFrom*
operations.
logUri
- A link to the file containing logs of CreateDataSourceFrom*
operations.public String getLogUri()
A link to the file containing logs of CreateDataSourceFrom*
operations.
CreateDataSourceFrom*
operations.public GetDataSourceResult withLogUri(String logUri)
A link to the file containing logs of CreateDataSourceFrom*
operations.
logUri
- A link to the file containing logs of CreateDataSourceFrom*
operations.public void setMessage(String message)
The user-supplied description of the most recent details about creating the DataSource
.
message
- The user-supplied description of the most recent details about creating the DataSource
.public String getMessage()
The user-supplied description of the most recent details about creating the DataSource
.
DataSource
.public GetDataSourceResult withMessage(String message)
The user-supplied description of the most recent details about creating the DataSource
.
message
- The user-supplied 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 setComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.
computeTime
- The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.public Long getComputeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.public GetDataSourceResult withComputeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.
computeTime
- The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource
, normalized and scaled on computation resources. ComputeTime
is only
available if the DataSource
is in the COMPLETED
state and the
ComputeStatistics
is set to true.public void setFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the DataSource
as COMPLETED
or
FAILED
. FinishedAt
is only available when the DataSource
is in the
COMPLETED
or FAILED
state.
finishedAt
- The epoch time when Amazon Machine Learning marked the DataSource
as COMPLETED
or FAILED
. FinishedAt
is only available when the DataSource
is in
the COMPLETED
or FAILED
state.public Date getFinishedAt()
The epoch time when Amazon Machine Learning marked the DataSource
as COMPLETED
or
FAILED
. FinishedAt
is only available when the DataSource
is in the
COMPLETED
or FAILED
state.
DataSource
as COMPLETED
or FAILED
. FinishedAt
is only available when the DataSource
is in
the COMPLETED
or FAILED
state.public GetDataSourceResult withFinishedAt(Date finishedAt)
The epoch time when Amazon Machine Learning marked the DataSource
as COMPLETED
or
FAILED
. FinishedAt
is only available when the DataSource
is in the
COMPLETED
or FAILED
state.
finishedAt
- The epoch time when Amazon Machine Learning marked the DataSource
as COMPLETED
or FAILED
. FinishedAt
is only available when the DataSource
is in
the COMPLETED
or FAILED
state.public void setStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
.
StartedAt
isn't available if the DataSource
is in the PENDING
state.
startedAt
- The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
.
StartedAt
isn't available if the DataSource
is in the PENDING
state.public Date getStartedAt()
The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
.
StartedAt
isn't available if the DataSource
is in the PENDING
state.
DataSource
as INPROGRESS
. StartedAt
isn't available if the DataSource
is in the PENDING
state.public GetDataSourceResult withStartedAt(Date startedAt)
The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
.
StartedAt
isn't available if the DataSource
is in the PENDING
state.
startedAt
- The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
.
StartedAt
isn't available if the DataSource
is in the PENDING
state.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 Object
Object.toString()
public GetDataSourceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.