public static interface DataSource.Builder extends CopyableBuilder<DataSource.Builder,DataSource>
Modifier and Type | Method and Description |
---|---|
DataSource.Builder |
computeStatistics(Boolean computeStatistics)
The parameter is
true if statistics need to be generated from the observation data. |
DataSource.Builder |
computeTime(Long computeTime)
Sets the value of the ComputeTime property for this object.
|
DataSource.Builder |
createdAt(Instant createdAt)
The time that the
DataSource was created. |
DataSource.Builder |
createdByIamUser(String createdByIamUser)
The AWS user account from which the
DataSource was created. |
DataSource.Builder |
dataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource . |
DataSource.Builder |
dataRearrangement(String dataRearrangement)
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource was created. |
DataSource.Builder |
dataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the
DataSource references. |
DataSource.Builder |
dataSourceId(String dataSourceId)
The ID that is assigned to the
DataSource during creation. |
DataSource.Builder |
finishedAt(Instant finishedAt)
Sets the value of the FinishedAt property for this object.
|
DataSource.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time of the most recent edit to the
BatchPrediction . |
DataSource.Builder |
message(String message)
A description of the most recent details about creating the
DataSource . |
DataSource.Builder |
name(String name)
A user-supplied name or description of the
DataSource . |
DataSource.Builder |
numberOfFiles(Long numberOfFiles)
The number of data files referenced by the
DataSource . |
default DataSource.Builder |
rdsMetadata(Consumer<RDSMetadata.Builder> rdsMetadata)
Sets the value of the RDSMetadata property for this object.
|
DataSource.Builder |
rdsMetadata(RDSMetadata rdsMetadata)
Sets the value of the RDSMetadata property for this object.
|
default DataSource.Builder |
redshiftMetadata(Consumer<RedshiftMetadata.Builder> redshiftMetadata)
Sets the value of the RedshiftMetadata property for this object.
|
DataSource.Builder |
redshiftMetadata(RedshiftMetadata redshiftMetadata)
Sets the value of the RedshiftMetadata property for this object.
|
DataSource.Builder |
roleARN(String roleARN)
Sets the value of the RoleARN property for this object.
|
DataSource.Builder |
startedAt(Instant startedAt)
Sets the value of the StartedAt property for this object.
|
DataSource.Builder |
status(EntityStatus status)
The current status of the
DataSource . |
DataSource.Builder |
status(String status)
The current status of the
DataSource . |
copy
apply, build
DataSource.Builder dataSourceId(String dataSourceId)
The ID that is assigned to the DataSource
during creation.
dataSourceId
- The ID that is assigned to the DataSource
during creation.DataSource.Builder dataLocationS3(String dataLocationS3)
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.
dataLocationS3
- The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource
.DataSource.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.DataSource.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.DataSource.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.DataSource.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch
time.DataSource.Builder dataSizeInBytes(Long dataSizeInBytes)
The total number of observations contained in the data files that the DataSource
references.
dataSizeInBytes
- The total number of observations contained in the data files that the DataSource
references.DataSource.Builder numberOfFiles(Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.DataSource.Builder name(String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.DataSource.Builder status(String status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.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:
DataSource
.DataSource
did not run to completion. It is not
usable.DataSource
is marked as deleted. It is not usable.EntityStatus
,
EntityStatus
DataSource.Builder status(EntityStatus status)
The current status of the DataSource
. This element can have one of the following values:
DataSource
.DataSource
did not run to completion. It is not usable.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:
DataSource
.DataSource
did not run to completion. It is not
usable.DataSource
is marked as deleted. It is not usable.EntityStatus
,
EntityStatus
DataSource.Builder message(String message)
A description of the most recent details about creating the DataSource
.
message
- A description of the most recent details about creating the DataSource
.DataSource.Builder redshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- The new value for the RedshiftMetadata property for this object.default DataSource.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)
DataSource.Builder rdsMetadata(RDSMetadata rdsMetadata)
rdsMetadata
- The new value for the RDSMetadata property for this object.default DataSource.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)
DataSource.Builder roleARN(String roleARN)
roleARN
- The new value for the RoleARN property for this object.DataSource.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.DataSource.Builder computeTime(Long computeTime)
computeTime
- The new value for the ComputeTime property for this object.DataSource.Builder finishedAt(Instant finishedAt)
finishedAt
- The new value for the FinishedAt property for this object.DataSource.Builder startedAt(Instant startedAt)
startedAt
- The new value for the StartedAt property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.