@Generated(value="software.amazon.awssdk:codegen") public final class DataSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSource.Builder,DataSource>
The source of your training data, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an AWS Key Management Service (KMS) key. This object is submitted in the CreateDatasetImportJob request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3Config |
s3Config()
The path to the training data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the
credentials to access the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataSource.Builder> |
serializableBuilderClass() |
DataSource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic S3Config s3Config()
The path to the training data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
public DataSource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataSource.Builder,DataSource>public static DataSource.Builder builder()
public static Class<? extends DataSource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.