@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDetectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDetectorRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDetectorRequest |
addTagsEntry(String key,
String value) |
CreateDetectorRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDetectorRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency token for the create request.
|
Boolean |
getEnable()
A boolean value that specifies whether the detector is to be enabled.
|
String |
getFindingPublishingFrequency()
A enum value that specifies how frequently customer got Finding updates published.
|
Map<String,String> |
getTags()
The tags to be added to a new detector resource.
|
int |
hashCode() |
Boolean |
isEnable()
A boolean value that specifies whether the detector is to be enabled.
|
void |
setClientToken(String clientToken)
The idempotency token for the create request.
|
void |
setEnable(Boolean enable)
A boolean value that specifies whether the detector is to be enabled.
|
void |
setFindingPublishingFrequency(String findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
|
void |
setTags(Map<String,String> tags)
The tags to be added to a new detector resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateDetectorRequest |
withClientToken(String clientToken)
The idempotency token for the create request.
|
CreateDetectorRequest |
withEnable(Boolean enable)
A boolean value that specifies whether the detector is to be enabled.
|
CreateDetectorRequest |
withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
|
CreateDetectorRequest |
withFindingPublishingFrequency(String findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
|
CreateDetectorRequest |
withTags(Map<String,String> tags)
The tags to be added to a new detector resource.
|
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 setEnable(Boolean enable)
A boolean value that specifies whether the detector is to be enabled.
enable - A boolean value that specifies whether the detector is to be enabled.public Boolean getEnable()
A boolean value that specifies whether the detector is to be enabled.
public CreateDetectorRequest withEnable(Boolean enable)
A boolean value that specifies whether the detector is to be enabled.
enable - A boolean value that specifies whether the detector is to be enabled.public Boolean isEnable()
A boolean value that specifies whether the detector is to be enabled.
public void setClientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.public String getClientToken()
The idempotency token for the create request.
public CreateDetectorRequest withClientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.public void setFindingPublishingFrequency(String findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
findingPublishingFrequency - A enum value that specifies how frequently customer got Finding updates published.FindingPublishingFrequencypublic String getFindingPublishingFrequency()
A enum value that specifies how frequently customer got Finding updates published.
FindingPublishingFrequencypublic CreateDetectorRequest withFindingPublishingFrequency(String findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
findingPublishingFrequency - A enum value that specifies how frequently customer got Finding updates published.FindingPublishingFrequencypublic CreateDetectorRequest withFindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
A enum value that specifies how frequently customer got Finding updates published.
findingPublishingFrequency - A enum value that specifies how frequently customer got Finding updates published.FindingPublishingFrequencypublic Map<String,String> getTags()
The tags to be added to a new detector resource.
public void setTags(Map<String,String> tags)
The tags to be added to a new detector resource.
tags - The tags to be added to a new detector resource.public CreateDetectorRequest withTags(Map<String,String> tags)
The tags to be added to a new detector resource.
tags - The tags to be added to a new detector resource.public CreateDetectorRequest addTagsEntry(String key, String value)
public CreateDetectorRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateDetectorRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.