@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartReferenceImportJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartReferenceImportJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartReferenceImportJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
To ensure that jobs don't run multiple times, specify a unique token for each job.
|
String |
getReferenceStoreId()
The job's reference store ID.
|
String |
getRoleArn()
A service role for the job.
|
List<StartReferenceImportJobSourceItem> |
getSources()
The job's source files.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
To ensure that jobs don't run multiple times, specify a unique token for each job.
|
void |
setReferenceStoreId(String referenceStoreId)
The job's reference store ID.
|
void |
setRoleArn(String roleArn)
A service role for the job.
|
void |
setSources(Collection<StartReferenceImportJobSourceItem> sources)
The job's source files.
|
String |
toString()
Returns a string representation of this object.
|
StartReferenceImportJobRequest |
withClientToken(String clientToken)
To ensure that jobs don't run multiple times, specify a unique token for each job.
|
StartReferenceImportJobRequest |
withReferenceStoreId(String referenceStoreId)
The job's reference store ID.
|
StartReferenceImportJobRequest |
withRoleArn(String roleArn)
A service role for the job.
|
StartReferenceImportJobRequest |
withSources(Collection<StartReferenceImportJobSourceItem> sources)
The job's source files.
|
StartReferenceImportJobRequest |
withSources(StartReferenceImportJobSourceItem... sources)
The job's source files.
|
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 setReferenceStoreId(String referenceStoreId)
The job's reference store ID.
referenceStoreId
- The job's reference store ID.public String getReferenceStoreId()
The job's reference store ID.
public StartReferenceImportJobRequest withReferenceStoreId(String referenceStoreId)
The job's reference store ID.
referenceStoreId
- The job's reference store ID.public void setRoleArn(String roleArn)
A service role for the job.
roleArn
- A service role for the job.public String getRoleArn()
A service role for the job.
public StartReferenceImportJobRequest withRoleArn(String roleArn)
A service role for the job.
roleArn
- A service role for the job.public void setClientToken(String clientToken)
To ensure that jobs don't run multiple times, specify a unique token for each job.
clientToken
- To ensure that jobs don't run multiple times, specify a unique token for each job.public String getClientToken()
To ensure that jobs don't run multiple times, specify a unique token for each job.
public StartReferenceImportJobRequest withClientToken(String clientToken)
To ensure that jobs don't run multiple times, specify a unique token for each job.
clientToken
- To ensure that jobs don't run multiple times, specify a unique token for each job.public List<StartReferenceImportJobSourceItem> getSources()
The job's source files.
public void setSources(Collection<StartReferenceImportJobSourceItem> sources)
The job's source files.
sources
- The job's source files.public StartReferenceImportJobRequest withSources(StartReferenceImportJobSourceItem... sources)
The job's source files.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The job's source files.public StartReferenceImportJobRequest withSources(Collection<StartReferenceImportJobSourceItem> sources)
The job's source files.
sources
- The job's source files.public String toString()
toString
in class Object
Object.toString()
public StartReferenceImportJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()