@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectAnomaliesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetectAnomaliesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetectAnomaliesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
InputStream |
getBody()
The unencrypted image bytes that you want to analyze.
|
String |
getContentType()
The type of the image passed in
Body. |
String |
getModelVersion()
The version of the model that you want to use.
|
String |
getProjectName()
The name of the project that contains the model version that you want to use.
|
int |
hashCode() |
void |
setBody(InputStream body)
The unencrypted image bytes that you want to analyze.
|
void |
setContentType(String contentType)
The type of the image passed in
Body. |
void |
setModelVersion(String modelVersion)
The version of the model that you want to use.
|
void |
setProjectName(String projectName)
The name of the project that contains the model version that you want to use.
|
String |
toString()
Returns a string representation of this object.
|
DetectAnomaliesRequest |
withBody(InputStream body)
The unencrypted image bytes that you want to analyze.
|
DetectAnomaliesRequest |
withContentType(String contentType)
The type of the image passed in
Body. |
DetectAnomaliesRequest |
withModelVersion(String modelVersion)
The version of the model that you want to use.
|
DetectAnomaliesRequest |
withProjectName(String projectName)
The name of the project that contains the model version that you want to use.
|
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, withSdkRequestTimeoutpublic void setProjectName(String projectName)
The name of the project that contains the model version that you want to use.
projectName - The name of the project that contains the model version that you want to use.public String getProjectName()
The name of the project that contains the model version that you want to use.
public DetectAnomaliesRequest withProjectName(String projectName)
The name of the project that contains the model version that you want to use.
projectName - The name of the project that contains the model version that you want to use.public void setModelVersion(String modelVersion)
The version of the model that you want to use.
modelVersion - The version of the model that you want to use.public String getModelVersion()
The version of the model that you want to use.
public DetectAnomaliesRequest withModelVersion(String modelVersion)
The version of the model that you want to use.
modelVersion - The version of the model that you want to use.public void setBody(InputStream body)
The unencrypted image bytes that you want to analyze.
body - The unencrypted image bytes that you want to analyze.public InputStream getBody()
The unencrypted image bytes that you want to analyze.
public DetectAnomaliesRequest withBody(InputStream body)
The unencrypted image bytes that you want to analyze.
body - The unencrypted image bytes that you want to analyze.public void setContentType(String contentType)
The type of the image passed in Body. Valid values are image/png (PNG format images)
and image/jpeg (JPG format images).
contentType - The type of the image passed in Body. Valid values are image/png (PNG format
images) and image/jpeg (JPG format images).public String getContentType()
The type of the image passed in Body. Valid values are image/png (PNG format images)
and image/jpeg (JPG format images).
Body. Valid values are image/png (PNG format
images) and image/jpeg (JPG format images).public DetectAnomaliesRequest withContentType(String contentType)
The type of the image passed in Body. Valid values are image/png (PNG format images)
and image/jpeg (JPG format images).
contentType - The type of the image passed in Body. Valid values are image/png (PNG format
images) and image/jpeg (JPG format images).public String toString()
toString in class ObjectObject.toString()public DetectAnomaliesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()