@Generated(value="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 and Description |
---|---|
static interface |
DataSource.Builder |
Modifier and Type | Method and Description |
---|---|
static DataSource.Builder |
builder() |
Boolean |
computeStatistics()
The parameter is
true if statistics need to be generated from the observation data. |
Long |
computeTime()
Returns the value of the ComputeTime property for this object.
|
Instant |
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) |
Instant |
finishedAt()
Returns the value of the FinishedAt property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
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()
Returns the value of the RDSMetadata property for this object.
|
RedshiftMetadata |
redshiftMetadata()
Returns the value of the RedshiftMetadata property for this object.
|
String |
roleARN()
Returns the value of the RoleARN property for this object.
|
static Class<? extends DataSource.Builder> |
serializableBuilderClass() |
Instant |
startedAt()
Returns the value of the StartedAt property for this object.
|
EntityStatus |
status()
The current status of the
DataSource . |
String |
statusString()
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() |
copy
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 Instant 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 Instant 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 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.
If the service returns an enum value that is not available in the current SDK version, status
will
return EntityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
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
public String statusString()
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.
If the service returns an enum value that is not available in the current SDK version, status
will
return EntityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
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
public 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 Instant finishedAt()
public Instant startedAt()
public DataSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DataSource.Builder,DataSource>
public static DataSource.Builder builder()
public static Class<? extends DataSource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.