ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>@Generated("software.amazon.awssdk:codegen") public class GetDataSourceResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
Represents the output of a GetDataSource operation and describes a DataSource.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
GetDataSourceResponse.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static GetDataSourceResponse.Builder |
builder() |
|
Boolean |
computeStatistics() |
The parameter is
true if statistics need to be generated from the observation data. |
Long |
computeTime() |
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource, normalized and scaled on computation resources. |
Date |
createdAt() |
The time that the
DataSource was created. |
String |
createdByIamUser() |
The AWS user account from which the
DataSource was created. |
String |
dataLocationS3() |
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
String |
dataRearrangement() |
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
Long |
dataSizeInBytes() |
The total size of observations in the data files.
|
String |
dataSourceId() |
The ID assigned to the
DataSource at creation. |
String |
dataSourceSchema() |
The schema used by all of the data files of this
DataSource. |
boolean |
equals(Object obj) |
|
Date |
finishedAt() |
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED. |
int |
hashCode() |
|
Date |
lastUpdatedAt() |
The time of the most recent edit to the
DataSource. |
String |
logUri() |
A link to the file containing logs of
CreateDataSourceFrom* operations. |
String |
message() |
The user-supplied description of the most recent details about creating the
DataSource. |
String |
name() |
A user-supplied name or description of the
DataSource. |
Long |
numberOfFiles() |
The number of data files referenced by the
DataSource. |
RDSMetadata |
rdsMetadata() |
|
RedshiftMetadata |
redshiftMetadata() |
|
String |
roleARN() |
|
static Class<? extends GetDataSourceResponse.Builder> |
serializableBuilderClass() |
|
Date |
startedAt() |
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS. |
String |
status() |
The current status of the
DataSource. |
GetDataSourceResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadatapublic String dataSourceId()
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 String dataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public String dataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
DataSource was created.public 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.
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 createdAt()
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 Date lastUpdatedAt()
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 Long dataSizeInBytes()
The total size of observations in the data files.
public Long numberOfFiles()
The number of data files referenced by the DataSource.
DataSource.public String name()
A user-supplied name or description of the DataSource.
DataSource.public 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.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.EntityStatuspublic String logUri()
A link to the file containing logs of CreateDataSourceFrom* operations.
CreateDataSourceFrom* operations.public String message()
The user-supplied description of the most recent details about creating the DataSource.
DataSource.public RedshiftMetadata redshiftMetadata()
public RDSMetadata rdsMetadata()
public String roleARN()
public Boolean computeStatistics()
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 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.
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 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.
DataSource as COMPLETED
or FAILED. FinishedAt is only available when the DataSource is in
the COMPLETED or FAILED state.public 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.
DataSource as INPROGRESS
. StartedAt isn't available if the DataSource is in the PENDING
state.public String dataSourceSchema()
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 GetDataSourceResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>public static GetDataSourceResponse.Builder builder()
public static Class<? extends GetDataSourceResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.