@Generated(value="software.amazon.awssdk:codegen") public final class GetDataSourceResponse extends MachineLearningResponse implements ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
Represents the output of a GetDataSource operation and describes a DataSource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDataSourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetDataSourceResponse.Builder |
builder() |
Boolean |
computeStatistics()
The parameter is
true if statistics need to be generated from the observation data. |
Long |
computeTime()
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
DataSource, normalized and scaled on computation resources. |
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 of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
String |
dataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this
DataSource
was created. |
Long |
dataSizeInBytes()
The total size of observations in the data files.
|
String |
dataSourceId()
The ID assigned to the
DataSource at creation. |
String |
dataSourceSchema()
The schema used by all of the data files of this
DataSource. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
finishedAt()
The epoch time when Amazon Machine Learning marked the
DataSource as COMPLETED or
FAILED. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
The time of the most recent edit to the
DataSource. |
String |
logUri()
A link to the file containing logs of
CreateDataSourceFrom* operations. |
String |
message()
The user-supplied 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDataSourceResponse.Builder> |
serializableBuilderClass() |
Instant |
startedAt()
The epoch time when Amazon Machine Learning marked the
DataSource as INPROGRESS. |
EntityStatus |
status()
The current status of the
DataSource. |
String |
statusAsString()
The current status of the
DataSource. |
GetDataSourceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dataSourceId()
The ID assigned to the DataSource at creation. This value should be identical to the value of the
DataSourceId in the request.
DataSource at creation. This value should be identical to the value
of the DataSourceId in the request.public final String dataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public final String dataRearrangement()
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
was created.
DataSource was created.public final 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 final 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 final Instant lastUpdatedAt()
The time of the most recent edit to the DataSource. The time is expressed in epoch time.
DataSource. The time is expressed in epoch time.public final Long dataSizeInBytes()
The total size of observations in the data files.
public final Long numberOfFiles()
The number of data files referenced by the DataSource.
DataSource.public final String name()
A user-supplied name or description of the DataSource.
DataSource.public final 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.
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
statusAsString().
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.EntityStatuspublic final String statusAsString()
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.
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
statusAsString().
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.EntityStatuspublic final String logUri()
A link to the file containing logs of CreateDataSourceFrom* operations.
CreateDataSourceFrom* operations.public final String message()
The user-supplied description of the most recent details about creating the DataSource.
DataSource.public final RedshiftMetadata redshiftMetadata()
public final RDSMetadata rdsMetadata()
public final String roleARN()
public final 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 final 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.
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.public final 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.
DataSource as COMPLETED
or FAILED. FinishedAt is only available when the DataSource is in
the COMPLETED or FAILED state.public final 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.
DataSource as INPROGRESS
. StartedAt isn't available if the DataSource is in the PENDING
state.public final String dataSourceSchema()
The schema used by all of the data files of this DataSource.
This parameter is provided as part of the verbose format.
DataSource. This parameter is provided as part of the verbose format.
public GetDataSourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>toBuilder in class AwsResponsepublic static GetDataSourceResponse.Builder builder()
public static Class<? extends GetDataSourceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.