public static interface GetDataSourceResponse.Builder extends MachineLearningResponse.Builder, CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
Modifier and Type | Method and 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(Instant 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(Instant finishedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED . |
GetDataSourceResponse.Builder |
lastUpdatedAt(Instant 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 . |
default GetDataSourceResponse.Builder |
rdsMetadata(Consumer<RDSMetadata.Builder> rdsMetadata)
Sets the value of the RDSMetadata property for this object.
|
GetDataSourceResponse.Builder |
rdsMetadata(RDSMetadata rdsMetadata)
Sets the value of the RDSMetadata property for this object.
|
default GetDataSourceResponse.Builder |
redshiftMetadata(Consumer<RedshiftMetadata.Builder> redshiftMetadata)
Sets the value of the RedshiftMetadata property for this object.
|
GetDataSourceResponse.Builder |
redshiftMetadata(RedshiftMetadata redshiftMetadata)
Sets the value of the RedshiftMetadata property for this object.
|
GetDataSourceResponse.Builder |
roleARN(String roleARN)
Sets the value of the RoleARN property for this object.
|
GetDataSourceResponse.Builder |
startedAt(Instant startedAt)
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS . |
GetDataSourceResponse.Builder |
status(EntityStatus status)
The current status of the
DataSource . |
GetDataSourceResponse.Builder |
status(String status)
The current status of the
DataSource . |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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(Instant 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(Instant 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
,
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
,
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
- The new value for the RedshiftMetadata property for this object.default GetDataSourceResponse.Builder redshiftMetadata(Consumer<RedshiftMetadata.Builder> redshiftMetadata)
RedshiftMetadata.Builder
avoiding the need to
create one manually via RedshiftMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to redshiftMetadata(RedshiftMetadata)
.redshiftMetadata
- a consumer that will call methods on RedshiftMetadata.Builder
redshiftMetadata(RedshiftMetadata)
GetDataSourceResponse.Builder rdsMetadata(RDSMetadata rdsMetadata)
rdsMetadata
- The new value for the RDSMetadata property for this object.default GetDataSourceResponse.Builder rdsMetadata(Consumer<RDSMetadata.Builder> rdsMetadata)
RDSMetadata.Builder
avoiding the need to create
one manually via RDSMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to rdsMetadata(RDSMetadata)
.rdsMetadata
- a consumer that will call methods on RDSMetadata.Builder
rdsMetadata(RDSMetadata)
GetDataSourceResponse.Builder roleARN(String roleARN)
roleARN
- The new value for the RoleARN property for this object.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(Instant 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(Instant 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.