@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DataSourceConfigurations |
getDataSources()
Describes which data sources will be updated.
|
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 |
setDataSources(DataSourceConfigurations dataSources)
Describes which data sources will be updated.
|
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 |
withDataSources(DataSourceConfigurations dataSources)
Describes which data sources will be updated.
|
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, 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 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.FindingPublishingFrequency
public String getFindingPublishingFrequency()
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
FindingPublishingFrequency
public 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.FindingPublishingFrequency
public 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.FindingPublishingFrequency
public void setDataSources(DataSourceConfigurations dataSources)
Describes which data sources will be updated.
dataSources
- Describes which data sources will be updated.public DataSourceConfigurations getDataSources()
Describes which data sources will be updated.
public UpdateDetectorRequest withDataSources(DataSourceConfigurations dataSources)
Describes which data sources will be updated.
dataSources
- Describes which data sources will be updated.public String toString()
toString
in class Object
Object.toString()
public UpdateDetectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()