@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAdapterVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAdapterVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAdapterVersionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAdapterVersionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAdapterVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAdapterId()
A string containing a unique ID for the adapter that will receive a new version.
|
String |
getClientRequestToken()
Idempotent token is used to recognize the request.
|
AdapterVersionDatasetConfig |
getDatasetConfig()
Specifies a dataset used to train a new adapter version.
|
String |
getKMSKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key).
|
OutputConfig |
getOutputConfig() |
Map<String,String> |
getTags()
A set of tags (key-value pairs) that you want to attach to the adapter version.
|
int |
hashCode() |
void |
setAdapterId(String adapterId)
A string containing a unique ID for the adapter that will receive a new version.
|
void |
setClientRequestToken(String clientRequestToken)
Idempotent token is used to recognize the request.
|
void |
setDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version.
|
void |
setKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
void |
setOutputConfig(OutputConfig outputConfig) |
void |
setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the adapter version.
|
String |
toString()
Returns a string representation of this object.
|
CreateAdapterVersionRequest |
withAdapterId(String adapterId)
A string containing a unique ID for the adapter that will receive a new version.
|
CreateAdapterVersionRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token is used to recognize the request.
|
CreateAdapterVersionRequest |
withDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version.
|
CreateAdapterVersionRequest |
withKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
CreateAdapterVersionRequest |
withOutputConfig(OutputConfig outputConfig) |
CreateAdapterVersionRequest |
withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the adapter version.
|
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 setAdapterId(String adapterId)
A string containing a unique ID for the adapter that will receive a new version.
adapterId
- A string containing a unique ID for the adapter that will receive a new version.public String getAdapterId()
A string containing a unique ID for the adapter that will receive a new version.
public CreateAdapterVersionRequest withAdapterId(String adapterId)
A string containing a unique ID for the adapter that will receive a new version.
adapterId
- A string containing a unique ID for the adapter that will receive a new version.public void setClientRequestToken(String clientRequestToken)
Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
clientRequestToken
- Idempotent token is used to recognize the request. If the same token is used with multiple
CreateAdapterVersion requests, the same session is returned. This token is employed to avoid
unintentionally creating the same session multiple times.public String getClientRequestToken()
Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
public CreateAdapterVersionRequest withClientRequestToken(String clientRequestToken)
Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
clientRequestToken
- Idempotent token is used to recognize the request. If the same token is used with multiple
CreateAdapterVersion requests, the same session is returned. This token is employed to avoid
unintentionally creating the same session multiple times.public void setDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
datasetConfig
- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.public AdapterVersionDatasetConfig getDatasetConfig()
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
public CreateAdapterVersionRequest withDatasetConfig(AdapterVersionDatasetConfig datasetConfig)
Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
datasetConfig
- Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.public void setKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
kMSKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.public String getKMSKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
public CreateAdapterVersionRequest withKMSKeyId(String kMSKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
kMSKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.public void setOutputConfig(OutputConfig outputConfig)
outputConfig
- public OutputConfig getOutputConfig()
public CreateAdapterVersionRequest withOutputConfig(OutputConfig outputConfig)
outputConfig
- public Map<String,String> getTags()
A set of tags (key-value pairs) that you want to attach to the adapter version.
public void setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the adapter version.
tags
- A set of tags (key-value pairs) that you want to attach to the adapter version.public CreateAdapterVersionRequest withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the adapter version.
tags
- A set of tags (key-value pairs) that you want to attach to the adapter version.public CreateAdapterVersionRequest addTagsEntry(String key, String value)
public CreateAdapterVersionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAdapterVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()