@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDetectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateDetectorRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDetectorRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDetectorId()
The unique ID of the detector to update.
|
Boolean |
getEnable()
Specifies whether the detector is enabled or not enabled.
|
String |
getFindingPublishingFrequency()
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
int |
hashCode() |
Boolean |
isEnable()
Specifies whether the detector is enabled or not enabled.
|
void |
setDetectorId(String detectorId)
The unique ID of the detector to update.
|
void |
setEnable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
|
void |
setFindingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDetectorRequest |
withDetectorId(String detectorId)
The unique ID of the detector to update.
|
UpdateDetectorRequest |
withEnable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
|
UpdateDetectorRequest |
withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
UpdateDetectorRequest |
withFindingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
|
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 unique ID of the detector to update.
detectorId - The unique ID of the detector to update.public String getDetectorId()
The unique ID of the detector to update.
public UpdateDetectorRequest withDetectorId(String detectorId)
The unique ID of the detector to update.
detectorId - The unique ID of the detector to update.public void setEnable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
enable - Specifies whether the detector is enabled or not enabled.public Boolean getEnable()
Specifies whether the detector is enabled or not enabled.
public UpdateDetectorRequest withEnable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
enable - Specifies whether the detector is enabled or not enabled.public Boolean isEnable()
Specifies whether the detector is enabled or not enabled.
public void setFindingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.FindingPublishingFrequencypublic String getFindingPublishingFrequency()
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
FindingPublishingFrequencypublic UpdateDetectorRequest withFindingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.FindingPublishingFrequencypublic UpdateDetectorRequest withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
findingPublishingFrequency - An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.FindingPublishingFrequencypublic String toString()
toString in class ObjectObject.toString()public UpdateDetectorRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.