@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDetectorVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDetectorVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDetectorVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the detector version.
|
String |
getDetectorId()
The ID of the detector under which you want to create a new version.
|
List<String> |
getExternalModelEndpoints()
The Amazon Sagemaker model endpoints to include in the detector version.
|
List<ModelVersion> |
getModelVersions()
The model versions to include in the detector version.
|
String |
getRuleExecutionMode()
The rule execution mode for the rules included in the detector version.
|
List<Rule> |
getRules()
The rules to include in the detector version.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the detector version.
|
void |
setDetectorId(String detectorId)
The ID of the detector under which you want to create a new version.
|
void |
setExternalModelEndpoints(Collection<String> externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
|
void |
setModelVersions(Collection<ModelVersion> modelVersions)
The model versions to include in the detector version.
|
void |
setRuleExecutionMode(String ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
|
void |
setRules(Collection<Rule> rules)
The rules to include in the detector version.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs.
|
String |
toString()
Returns a string representation of this object.
|
CreateDetectorVersionRequest |
withDescription(String description)
The description of the detector version.
|
CreateDetectorVersionRequest |
withDetectorId(String detectorId)
The ID of the detector under which you want to create a new version.
|
CreateDetectorVersionRequest |
withExternalModelEndpoints(Collection<String> externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
|
CreateDetectorVersionRequest |
withExternalModelEndpoints(String... externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
|
CreateDetectorVersionRequest |
withModelVersions(Collection<ModelVersion> modelVersions)
The model versions to include in the detector version.
|
CreateDetectorVersionRequest |
withModelVersions(ModelVersion... modelVersions)
The model versions to include in the detector version.
|
CreateDetectorVersionRequest |
withRuleExecutionMode(RuleExecutionMode ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
|
CreateDetectorVersionRequest |
withRuleExecutionMode(String ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
|
CreateDetectorVersionRequest |
withRules(Collection<Rule> rules)
The rules to include in the detector version.
|
CreateDetectorVersionRequest |
withRules(Rule... rules)
The rules to include in the detector version.
|
CreateDetectorVersionRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
CreateDetectorVersionRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
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 setDetectorId(String detectorId)
The ID of the detector under which you want to create a new version.
detectorId
- The ID of the detector under which you want to create a new version.public String getDetectorId()
The ID of the detector under which you want to create a new version.
public CreateDetectorVersionRequest withDetectorId(String detectorId)
The ID of the detector under which you want to create a new version.
detectorId
- The ID of the detector under which you want to create a new version.public void setDescription(String description)
The description of the detector version.
description
- The description of the detector version.public String getDescription()
The description of the detector version.
public CreateDetectorVersionRequest withDescription(String description)
The description of the detector version.
description
- The description of the detector version.public List<String> getExternalModelEndpoints()
The Amazon Sagemaker model endpoints to include in the detector version.
public void setExternalModelEndpoints(Collection<String> externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
externalModelEndpoints
- The Amazon Sagemaker model endpoints to include in the detector version.public CreateDetectorVersionRequest withExternalModelEndpoints(String... externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
NOTE: This method appends the values to the existing list (if any). Use
setExternalModelEndpoints(java.util.Collection)
or
withExternalModelEndpoints(java.util.Collection)
if you want to override the existing values.
externalModelEndpoints
- The Amazon Sagemaker model endpoints to include in the detector version.public CreateDetectorVersionRequest withExternalModelEndpoints(Collection<String> externalModelEndpoints)
The Amazon Sagemaker model endpoints to include in the detector version.
externalModelEndpoints
- The Amazon Sagemaker model endpoints to include in the detector version.public List<Rule> getRules()
The rules to include in the detector version.
public void setRules(Collection<Rule> rules)
The rules to include in the detector version.
rules
- The rules to include in the detector version.public CreateDetectorVersionRequest withRules(Rule... rules)
The rules to include in the detector version.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- The rules to include in the detector version.public CreateDetectorVersionRequest withRules(Collection<Rule> rules)
The rules to include in the detector version.
rules
- The rules to include in the detector version.public List<ModelVersion> getModelVersions()
The model versions to include in the detector version.
public void setModelVersions(Collection<ModelVersion> modelVersions)
The model versions to include in the detector version.
modelVersions
- The model versions to include in the detector version.public CreateDetectorVersionRequest withModelVersions(ModelVersion... modelVersions)
The model versions to include in the detector version.
NOTE: This method appends the values to the existing list (if any). Use
setModelVersions(java.util.Collection)
or withModelVersions(java.util.Collection)
if you want
to override the existing values.
modelVersions
- The model versions to include in the detector version.public CreateDetectorVersionRequest withModelVersions(Collection<ModelVersion> modelVersions)
The model versions to include in the detector version.
modelVersions
- The model versions to include in the detector version.public void setRuleExecutionMode(String ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last,
stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for
all matched rules.
The default behavior is FIRST_MATCHED
.
ruleExecutionMode
- The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to
last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that
single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the
outcomes for all matched rules.
The default behavior is FIRST_MATCHED
.
RuleExecutionMode
public String getRuleExecutionMode()
The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last,
stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for
all matched rules.
The default behavior is FIRST_MATCHED
.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to
last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that
single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the
outcomes for all matched rules.
The default behavior is FIRST_MATCHED
.
RuleExecutionMode
public CreateDetectorVersionRequest withRuleExecutionMode(String ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last,
stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for
all matched rules.
The default behavior is FIRST_MATCHED
.
ruleExecutionMode
- The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to
last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that
single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the
outcomes for all matched rules.
The default behavior is FIRST_MATCHED
.
RuleExecutionMode
public CreateDetectorVersionRequest withRuleExecutionMode(RuleExecutionMode ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last,
stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for
all matched rules.
The default behavior is FIRST_MATCHED
.
ruleExecutionMode
- The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to
last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that
single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the
outcomes for all matched rules.
The default behavior is FIRST_MATCHED
.
RuleExecutionMode
public List<Tag> getTags()
A collection of key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public CreateDetectorVersionRequest withTags(Tag... tags)
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A collection of key and value pairs.public CreateDetectorVersionRequest withTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public String toString()
toString
in class Object
Object.toString()
public CreateDetectorVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()