CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
, SdkBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
public static interface GetDataSourceResponse.Builder extends CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
Modifier and Type | Method | Description |
---|---|---|
GetDataSourceResponse.Builder |
computeStatistics(Boolean computeStatistics) |
The parameter is
true if statistics need to be generated from the observation data. |
GetDataSourceResponse.Builder |
computeTime(Long computeTime) |
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource , normalized and scaled on computation resources. |
GetDataSourceResponse.Builder |
createdAt(Date createdAt) |
The time that the
DataSource was created. |
GetDataSourceResponse.Builder |
createdByIamUser(String createdByIamUser) |
The AWS user account from which the
DataSource was created. |
GetDataSourceResponse.Builder |
dataLocationS3(String dataLocationS3) |
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
GetDataSourceResponse.Builder |
dataRearrangement(String dataRearrangement) |
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource was created. |
GetDataSourceResponse.Builder |
dataSizeInBytes(Long dataSizeInBytes) |
The total size of observations in the data files.
|
GetDataSourceResponse.Builder |
dataSourceId(String dataSourceId) |
The ID assigned to the
DataSource at creation. |
GetDataSourceResponse.Builder |
dataSourceSchema(String dataSourceSchema) |
The schema used by all of the data files of this
DataSource . |
GetDataSourceResponse.Builder |
finishedAt(Date finishedAt) |
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED . |
GetDataSourceResponse.Builder |
lastUpdatedAt(Date lastUpdatedAt) |
The time of the most recent edit to the
DataSource . |
GetDataSourceResponse.Builder |
logUri(String logUri) |
A link to the file containing logs of
CreateDataSourceFrom* operations. |
GetDataSourceResponse.Builder |
message(String message) |
The user-supplied description of the most recent details about creating the
DataSource . |
GetDataSourceResponse.Builder |
name(String name) |
A user-supplied name or description of the
DataSource . |
GetDataSourceResponse.Builder |
numberOfFiles(Long numberOfFiles) |
The number of data files referenced by the
DataSource . |
GetDataSourceResponse.Builder |
rdsMetadata(RDSMetadata rdsMetadata) |
|
GetDataSourceResponse.Builder |
redshiftMetadata(RedshiftMetadata redshiftMetadata) |
|
GetDataSourceResponse.Builder |
roleARN(String roleARN) |
|
GetDataSourceResponse.Builder |
startedAt(Date startedAt) |
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS . |
GetDataSourceResponse.Builder |
status(String status) |
The current status of the
DataSource . |
GetDataSourceResponse.Builder |
status(EntityStatus status) |
The current status of the
DataSource . |
copy
apply, build
GetDataSourceResponse.Builder dataSourceId(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.GetDataSourceResponse.Builder dataLocationS3(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).GetDataSourceResponse.Builder dataRearrangement(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.GetDataSourceResponse.Builder createdByIamUser(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.GetDataSourceResponse.Builder createdAt(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.GetDataSourceResponse.Builder lastUpdatedAt(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.GetDataSourceResponse.Builder dataSizeInBytes(Long dataSizeInBytes)
The total size of observations in the data files.
dataSizeInBytes
- The total size of observations in the data files.GetDataSourceResponse.Builder numberOfFiles(Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.GetDataSourceResponse.Builder name(String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.GetDataSourceResponse.Builder status(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
GetDataSourceResponse.Builder status(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
GetDataSourceResponse.Builder logUri(String logUri)
A link to the file containing logs of CreateDataSourceFrom*
operations.
logUri
- A link to the file containing logs of CreateDataSourceFrom*
operations.GetDataSourceResponse.Builder message(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
.GetDataSourceResponse.Builder redshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- GetDataSourceResponse.Builder rdsMetadata(RDSMetadata rdsMetadata)
rdsMetadata
- GetDataSourceResponse.Builder roleARN(String roleARN)
roleARN
- GetDataSourceResponse.Builder computeStatistics(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.GetDataSourceResponse.Builder computeTime(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.GetDataSourceResponse.Builder finishedAt(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.GetDataSourceResponse.Builder startedAt(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.GetDataSourceResponse.Builder dataSourceSchema(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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.