@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDetectorVersionStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDetectorVersionStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDetectorVersionStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetectorId()
The detector ID.
|
String |
getDetectorVersionId()
The detector version ID.
|
String |
getStatus()
The new status.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The detector ID.
|
void |
setDetectorVersionId(String detectorVersionId)
The detector version ID.
|
void |
setStatus(String status)
The new status.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDetectorVersionStatusRequest |
withDetectorId(String detectorId)
The detector ID.
|
UpdateDetectorVersionStatusRequest |
withDetectorVersionId(String detectorVersionId)
The detector version ID.
|
UpdateDetectorVersionStatusRequest |
withStatus(DetectorVersionStatus status)
The new status.
|
UpdateDetectorVersionStatusRequest |
withStatus(String status)
The new status.
|
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 detector ID.
detectorId
- The detector ID.public String getDetectorId()
The detector ID.
public UpdateDetectorVersionStatusRequest withDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public void setDetectorVersionId(String detectorVersionId)
The detector version ID.
detectorVersionId
- The detector version ID.public String getDetectorVersionId()
The detector version ID.
public UpdateDetectorVersionStatusRequest withDetectorVersionId(String detectorVersionId)
The detector version ID.
detectorVersionId
- The detector version ID.public void setStatus(String status)
The new status.
The only supported values are ACTIVE
and INACTIVE
status
- The new status.
The only supported values are ACTIVE
and INACTIVE
DetectorVersionStatus
public String getStatus()
The new status.
The only supported values are ACTIVE
and INACTIVE
The only supported values are ACTIVE
and INACTIVE
DetectorVersionStatus
public UpdateDetectorVersionStatusRequest withStatus(String status)
The new status.
The only supported values are ACTIVE
and INACTIVE
status
- The new status.
The only supported values are ACTIVE
and INACTIVE
DetectorVersionStatus
public UpdateDetectorVersionStatusRequest withStatus(DetectorVersionStatus status)
The new status.
The only supported values are ACTIVE
and INACTIVE
status
- The new status.
The only supported values are ACTIVE
and INACTIVE
DetectorVersionStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateDetectorVersionStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()