@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDatasetEntriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDatasetEntriesRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDatasetEntriesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getChanges()
The entries to add to the dataset.
|
String |
getClientToken()
ClientToken is an idempotency token that ensures a call to
UpdateDatasetEntries completes only once. |
String |
getDatasetType()
The type of the dataset that you want to update.
|
String |
getProjectName()
The name of the project that contains the dataset that you want to update.
|
int |
hashCode() |
void |
setChanges(ByteBuffer changes)
The entries to add to the dataset.
|
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
UpdateDatasetEntries completes only once. |
void |
setDatasetType(String datasetType)
The type of the dataset that you want to update.
|
void |
setProjectName(String projectName)
The name of the project that contains the dataset that you want to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDatasetEntriesRequest |
withChanges(ByteBuffer changes)
The entries to add to the dataset.
|
UpdateDatasetEntriesRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
UpdateDatasetEntries completes only once. |
UpdateDatasetEntriesRequest |
withDatasetType(String datasetType)
The type of the dataset that you want to update.
|
UpdateDatasetEntriesRequest |
withProjectName(String projectName)
The name of the project that contains the dataset that you want to update.
|
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 setProjectName(String projectName)
The name of the project that contains the dataset that you want to update.
projectName
- The name of the project that contains the dataset that you want to update.public String getProjectName()
The name of the project that contains the dataset that you want to update.
public UpdateDatasetEntriesRequest withProjectName(String projectName)
The name of the project that contains the dataset that you want to update.
projectName
- The name of the project that contains the dataset that you want to update.public void setDatasetType(String datasetType)
The type of the dataset that you want to update. Specify train
to update the training dataset.
Specify test
to update the test dataset. If you have a single dataset project, specify
train
.
datasetType
- The type of the dataset that you want to update. Specify train
to update the training
dataset. Specify test
to update the test dataset. If you have a single dataset project,
specify train
.public String getDatasetType()
The type of the dataset that you want to update. Specify train
to update the training dataset.
Specify test
to update the test dataset. If you have a single dataset project, specify
train
.
train
to update the training
dataset. Specify test
to update the test dataset. If you have a single dataset project,
specify train
.public UpdateDatasetEntriesRequest withDatasetType(String datasetType)
The type of the dataset that you want to update. Specify train
to update the training dataset.
Specify test
to update the test dataset. If you have a single dataset project, specify
train
.
datasetType
- The type of the dataset that you want to update. Specify train
to update the training
dataset. Specify test
to update the test dataset. If you have a single dataset project,
specify train
.public void setChanges(ByteBuffer changes)
The entries to add to the dataset.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
changes
- The entries to add to the dataset.public ByteBuffer getChanges()
The entries to add to the dataset.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public UpdateDatasetEntriesRequest withChanges(ByteBuffer changes)
The entries to add to the dataset.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
changes
- The entries to add to the dataset.public void setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
completes only once.
You choose the value to pass. For example, An issue might prevent you from getting a response from
UpdateDatasetEntries
. In this case, safely retry your call to UpdateDatasetEntries
by
using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. This
prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to
provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value
for ClientToken
is considered a new call to UpdateDatasetEntries
. An idempotency token
is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
completes
only once. You choose the value to pass. For example, An issue might prevent you from getting a response
from UpdateDatasetEntries
. In this case, safely retry your call to
UpdateDatasetEntries
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for
you. This prevents retries after a network error from making multiple updates with the same dataset
entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different
value for ClientToken
is considered a new call to UpdateDatasetEntries
. An
idempotency token is active for 8 hours.
public String getClientToken()
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
completes only once.
You choose the value to pass. For example, An issue might prevent you from getting a response from
UpdateDatasetEntries
. In this case, safely retry your call to UpdateDatasetEntries
by
using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. This
prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to
provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value
for ClientToken
is considered a new call to UpdateDatasetEntries
. An idempotency token
is active for 8 hours.
UpdateDatasetEntries
completes
only once. You choose the value to pass. For example, An issue might prevent you from getting a response
from UpdateDatasetEntries
. In this case, safely retry your call to
UpdateDatasetEntries
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for
you. This prevents retries after a network error from making multiple updates with the same dataset
entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different
value for ClientToken
is considered a new call to UpdateDatasetEntries
. An
idempotency token is active for 8 hours.
public UpdateDatasetEntriesRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
completes only once.
You choose the value to pass. For example, An issue might prevent you from getting a response from
UpdateDatasetEntries
. In this case, safely retry your call to UpdateDatasetEntries
by
using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. This
prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to
provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value
for ClientToken
is considered a new call to UpdateDatasetEntries
. An idempotency token
is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries
completes
only once. You choose the value to pass. For example, An issue might prevent you from getting a response
from UpdateDatasetEntries
. In this case, safely retry your call to
UpdateDatasetEntries
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for
you. This prevents retries after a network error from making multiple updates with the same dataset
entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different
value for ClientToken
is considered a new call to UpdateDatasetEntries
. An
idempotency token is active for 8 hours.
public String toString()
toString
in class Object
Object.toString()
public UpdateDatasetEntriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()