@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDetectorVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateDetectorVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateDetectorVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getDetectorId()
The ID for the created version's parent detector.
|
String |
getDetectorVersionId()
The ID for the created detector.
|
String |
getStatus()
The status of the detector version.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The ID for the created version's parent detector.
|
void |
setDetectorVersionId(String detectorVersionId)
The ID for the created detector.
|
void |
setStatus(String status)
The status of the detector version.
|
String |
toString()
Returns a string representation of this object.
|
CreateDetectorVersionResult |
withDetectorId(String detectorId)
The ID for the created version's parent detector.
|
CreateDetectorVersionResult |
withDetectorVersionId(String detectorVersionId)
The ID for the created detector.
|
CreateDetectorVersionResult |
withStatus(DetectorVersionStatus status)
The status of the detector version.
|
CreateDetectorVersionResult |
withStatus(String status)
The status of the detector version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDetectorId(String detectorId)
The ID for the created version's parent detector.
detectorId
- The ID for the created version's parent detector.public String getDetectorId()
The ID for the created version's parent detector.
public CreateDetectorVersionResult withDetectorId(String detectorId)
The ID for the created version's parent detector.
detectorId
- The ID for the created version's parent detector.public void setDetectorVersionId(String detectorVersionId)
The ID for the created detector.
detectorVersionId
- The ID for the created detector.public String getDetectorVersionId()
The ID for the created detector.
public CreateDetectorVersionResult withDetectorVersionId(String detectorVersionId)
The ID for the created detector.
detectorVersionId
- The ID for the created detector.public void setStatus(String status)
The status of the detector version.
status
- The status of the detector version.DetectorVersionStatus
public String getStatus()
The status of the detector version.
DetectorVersionStatus
public CreateDetectorVersionResult withStatus(String status)
The status of the detector version.
status
- The status of the detector version.DetectorVersionStatus
public CreateDetectorVersionResult withStatus(DetectorVersionStatus status)
The status of the detector version.
status
- The status of the detector version.DetectorVersionStatus
public String toString()
toString
in class Object
Object.toString()
public CreateDetectorVersionResult clone()