@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetImportJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetImportJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetImportJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetArn()
The ARN of the dataset that receives the imported data.
|
DataSource |
getDataSource()
The Amazon S3 bucket that contains the training data to import.
|
String |
getJobName()
The name for the dataset import job.
|
String |
getRoleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
int |
hashCode() |
void |
setDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
|
void |
setDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
|
void |
setJobName(String jobName)
The name for the dataset import job.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetImportJobRequest |
withDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
|
CreateDatasetImportJobRequest |
withDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
|
CreateDatasetImportJobRequest |
withJobName(String jobName)
The name for the dataset import job.
|
CreateDatasetImportJobRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
The name for the dataset import job.
jobName
- The name for the dataset import job.public String getJobName()
The name for the dataset import job.
public CreateDatasetImportJobRequest withJobName(String jobName)
The name for the dataset import job.
jobName
- The name for the dataset import job.public void setDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
datasetArn
- The ARN of the dataset that receives the imported data.public String getDatasetArn()
The ARN of the dataset that receives the imported data.
public CreateDatasetImportJobRequest withDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
datasetArn
- The ARN of the dataset that receives the imported data.public void setDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
dataSource
- The Amazon S3 bucket that contains the training data to import.public DataSource getDataSource()
The Amazon S3 bucket that contains the training data to import.
public CreateDatasetImportJobRequest withDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
dataSource
- The Amazon S3 bucket that contains the training data to import.public void setRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
roleArn
- The ARN of the IAM role that has permissions to read from the Amazon S3 data source.public String getRoleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
public CreateDatasetImportJobRequest withRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
roleArn
- The ARN of the IAM role that has permissions to read from the Amazon S3 data source.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetImportJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.