StructuredPojo, ToCopyableBuilder<DataSource.Builder,DataSource>@Generated("software.amazon.awssdk:codegen") public class DataSource extends Object implements StructuredPojo, ToCopyableBuilder<DataSource.Builder,DataSource>
Represents the output of the GetDataSource operation.
The content consists of the detailed metadata and data file information and the current status of the
DataSource.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
DataSource.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static DataSource.Builder |
builder() |
|
Boolean |
computeStatistics() |
The parameter is
true if statistics need to be generated from the observation data. |
Long |
computeTime() |
|
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 and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource. |
String |
dataRearrangement() |
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
Long |
dataSizeInBytes() |
The total number of observations contained in the data files that the
DataSource references. |
String |
dataSourceId() |
The ID that is assigned to the
DataSource during creation. |
boolean |
equals(Object obj) |
|
Date |
finishedAt() |
|
int |
hashCode() |
|
Date |
lastUpdatedAt() |
The time of the most recent edit to the
BatchPrediction. |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
message() |
A 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 DataSource.Builder> |
serializableBuilderClass() |
|
Date |
startedAt() |
|
String |
status() |
The current status of the
DataSource. |
DataSource.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String dataSourceId()
The ID that is assigned to the DataSource during creation.
DataSource during creation.public String dataLocationS3()
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a
DataSource.
DataSource.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 BatchPrediction. The time is expressed in epoch time.
BatchPrediction. The time is expressed in epoch
time.public Long dataSizeInBytes()
The total number of observations contained in the data files that the DataSource references.
DataSource references.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:
DataSource.DataSource did not run to completion. It is not usable.DataSource is marked as deleted. It is not usable.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.EntityStatuspublic String message()
A 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()
public Date finishedAt()
public Date startedAt()
public DataSource.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DataSource.Builder,DataSource>public static DataSource.Builder builder()
public static Class<? extends DataSource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.