@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDetectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDetectorRequest() |
Modifier and Type | Method and Description |
---|---|
PutDetectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the detector.
|
String |
getDetectorId()
The detector ID.
|
String |
getEventTypeName()
The name of the event type.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the detector.
|
void |
setDetectorId(String detectorId)
The detector ID.
|
void |
setEventTypeName(String eventTypeName)
The name of the event type.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs.
|
String |
toString()
Returns a string representation of this object.
|
PutDetectorRequest |
withDescription(String description)
The description of the detector.
|
PutDetectorRequest |
withDetectorId(String detectorId)
The detector ID.
|
PutDetectorRequest |
withEventTypeName(String eventTypeName)
The name of the event type.
|
PutDetectorRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
PutDetectorRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
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 PutDetectorRequest withDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public void setDescription(String description)
The description of the detector.
description
- The description of the detector.public String getDescription()
The description of the detector.
public PutDetectorRequest withDescription(String description)
The description of the detector.
description
- The description of the detector.public void setEventTypeName(String eventTypeName)
The name of the event type.
eventTypeName
- The name of the event type.public String getEventTypeName()
The name of the event type.
public PutDetectorRequest withEventTypeName(String eventTypeName)
The name of the event type.
eventTypeName
- The name of the event type.public List<Tag> getTags()
A collection of key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public PutDetectorRequest withTags(Tag... tags)
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A collection of key and value pairs.public PutDetectorRequest withTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public String toString()
toString
in class Object
Object.toString()
public PutDetectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()