@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() |
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.
|
List<Rule> |
getRules()
The rules to include in the detector version.
|
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 |
setRules(Collection<Rule> rules)
The rules to include in the detector version.
|
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 |
withRules(Collection<Rule> rules)
The rules to include in the detector version.
|
CreateDetectorVersionRequest |
withRules(Rule... rules)
The rules to include in the detector version.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 String toString()
toString in class ObjectObject.toString()public CreateDetectorVersionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.