@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteDatasetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
ClientToken is an idempotency token that ensures a call to
DeleteDataset completes only once. |
String |
getDatasetType()
The type of the dataset to delete.
|
String |
getProjectName()
The name of the project that contains the dataset that you want to delete.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
DeleteDataset completes only once. |
void |
setDatasetType(String datasetType)
The type of the dataset to delete.
|
void |
setProjectName(String projectName)
The name of the project that contains the dataset that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDatasetRequest |
withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to
DeleteDataset completes only once. |
DeleteDatasetRequest |
withDatasetType(String datasetType)
The type of the dataset to delete.
|
DeleteDatasetRequest |
withProjectName(String projectName)
The name of the project that contains the dataset that you want to delete.
|
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 delete.
projectName
- The name of the project that contains the dataset that you want to delete.public String getProjectName()
The name of the project that contains the dataset that you want to delete.
public DeleteDatasetRequest withProjectName(String projectName)
The name of the project that contains the dataset that you want to delete.
projectName
- The name of the project that contains the dataset that you want to delete.public void setDatasetType(String datasetType)
The type of the dataset to delete. Specify train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.
datasetType
- The type of the dataset to delete. Specify train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.public String getDatasetType()
The type of the dataset to delete. Specify train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.
train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.public DeleteDatasetRequest withDatasetType(String datasetType)
The type of the dataset to delete. Specify train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.
datasetType
- The type of the dataset to delete. Specify train
to delete the training dataset. Specify
test
to delete the test dataset. To delete the dataset in a single dataset project, specify
train
.public void setClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to DeleteDataset
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from DeleteDataset
. In this case, safely retry your call to DeleteDataset
by
using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to DeleteDataset
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from DeleteDataset
. In this case, safely retry your call to
DeleteDataset
by using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is
active for 8 hours.public String getClientToken()
ClientToken is an idempotency token that ensures a call to DeleteDataset
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from DeleteDataset
. In this case, safely retry your call to DeleteDataset
by
using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is active for 8 hours.
DeleteDataset
completes only
once. You choose the value to pass. For example, An issue, such as an network outage, might prevent you
from getting a response from DeleteDataset
. In this case, safely retry your call to
DeleteDataset
by using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is
active for 8 hours.public DeleteDatasetRequest withClientToken(String clientToken)
ClientToken is an idempotency token that ensures a call to DeleteDataset
completes only once. You
choose the value to pass. For example, An issue, such as an network outage, might prevent you from getting a
response from DeleteDataset
. In this case, safely retry your call to DeleteDataset
by
using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is active for 8 hours.
clientToken
- ClientToken is an idempotency token that ensures a call to DeleteDataset
completes only once.
You choose the value to pass. For example, An issue, such as an network outage, might prevent you from
getting a response from DeleteDataset
. In this case, safely retry your call to
DeleteDataset
by using the same ClientToken
parameter value. 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 DeleteDataset
. An idempotency token is
active for 8 hours.public String toString()
toString
in class Object
Object.toString()
public DeleteDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()