@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectPredictionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RejectPredictionsRequest() |
Modifier and Type | Method and Description |
---|---|
RejectPredictionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
String |
getDomainIdentifier()
The identifier of the Amazon DataZone domain.
|
String |
getIdentifier()
The identifier of the prediction.
|
List<RejectChoice> |
getRejectChoices()
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a
column name) that can be rejected.
|
RejectRule |
getRejectRule()
Specifies the rule (or the conditions) under which a prediction can be rejected.
|
String |
getRevision()
The revision that is to be made to the asset.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
void |
setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
void |
setIdentifier(String identifier)
The identifier of the prediction.
|
void |
setRejectChoices(Collection<RejectChoice> rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a
column name) that can be rejected.
|
void |
setRejectRule(RejectRule rejectRule)
Specifies the rule (or the conditions) under which a prediction can be rejected.
|
void |
setRevision(String revision)
The revision that is to be made to the asset.
|
String |
toString()
Returns a string representation of this object.
|
RejectPredictionsRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
RejectPredictionsRequest |
withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
RejectPredictionsRequest |
withIdentifier(String identifier)
The identifier of the prediction.
|
RejectPredictionsRequest |
withRejectChoices(Collection<RejectChoice> rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a
column name) that can be rejected.
|
RejectPredictionsRequest |
withRejectChoices(RejectChoice... rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a
column name) that can be rejected.
|
RejectPredictionsRequest |
withRejectRule(RejectRule rejectRule)
Specifies the rule (or the conditions) under which a prediction can be rejected.
|
RejectPredictionsRequest |
withRevision(String revision)
The revision that is to be made to the asset.
|
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 setClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
public RejectPredictionsRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.public void setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier
- The identifier of the Amazon DataZone domain.public String getDomainIdentifier()
The identifier of the Amazon DataZone domain.
public RejectPredictionsRequest withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier
- The identifier of the Amazon DataZone domain.public void setIdentifier(String identifier)
The identifier of the prediction.
identifier
- The identifier of the prediction.public String getIdentifier()
The identifier of the prediction.
public RejectPredictionsRequest withIdentifier(String identifier)
The identifier of the prediction.
identifier
- The identifier of the prediction.public List<RejectChoice> getRejectChoices()
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
public void setRejectChoices(Collection<RejectChoice> rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
rejectChoices
- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example,
a column name) that can be rejected.public RejectPredictionsRequest withRejectChoices(RejectChoice... rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
NOTE: This method appends the values to the existing list (if any). Use
setRejectChoices(java.util.Collection)
or withRejectChoices(java.util.Collection)
if you want
to override the existing values.
rejectChoices
- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example,
a column name) that can be rejected.public RejectPredictionsRequest withRejectChoices(Collection<RejectChoice> rejectChoices)
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
rejectChoices
- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example,
a column name) that can be rejected.public void setRejectRule(RejectRule rejectRule)
Specifies the rule (or the conditions) under which a prediction can be rejected.
rejectRule
- Specifies the rule (or the conditions) under which a prediction can be rejected.public RejectRule getRejectRule()
Specifies the rule (or the conditions) under which a prediction can be rejected.
public RejectPredictionsRequest withRejectRule(RejectRule rejectRule)
Specifies the rule (or the conditions) under which a prediction can be rejected.
rejectRule
- Specifies the rule (or the conditions) under which a prediction can be rejected.public void setRevision(String revision)
The revision that is to be made to the asset.
revision
- The revision that is to be made to the asset.public String getRevision()
The revision that is to be made to the asset.
public RejectPredictionsRequest withRevision(String revision)
The revision that is to be made to the asset.
revision
- The revision that is to be made to the asset.public String toString()
toString
in class Object
Object.toString()
public RejectPredictionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()