@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDetectorModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDetectorModelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDetectorModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DetectorModelDefinition |
getDetectorModelDefinition()
Information that defines how the detectors operate.
|
String |
getDetectorModelDescription()
A brief description of the detector model.
|
String |
getDetectorModelName()
The name of the detector model.
|
String |
getEvaluationMethod()
Information about the order in which events are evaluated and how actions are executed.
|
String |
getKey()
The input attribute key used to identify a device or system to create a detector (an instance of the detector
model) and then to route each input received to the appropriate detector (instance).
|
String |
getRoleArn()
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
List<Tag> |
getTags()
Metadata that can be used to manage the detector model.
|
int |
hashCode() |
void |
setDetectorModelDefinition(DetectorModelDefinition detectorModelDefinition)
Information that defines how the detectors operate.
|
void |
setDetectorModelDescription(String detectorModelDescription)
A brief description of the detector model.
|
void |
setDetectorModelName(String detectorModelName)
The name of the detector model.
|
void |
setEvaluationMethod(String evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
|
void |
setKey(String key)
The input attribute key used to identify a device or system to create a detector (an instance of the detector
model) and then to route each input received to the appropriate detector (instance).
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
void |
setTags(Collection<Tag> tags)
Metadata that can be used to manage the detector model.
|
String |
toString()
Returns a string representation of this object.
|
CreateDetectorModelRequest |
withDetectorModelDefinition(DetectorModelDefinition detectorModelDefinition)
Information that defines how the detectors operate.
|
CreateDetectorModelRequest |
withDetectorModelDescription(String detectorModelDescription)
A brief description of the detector model.
|
CreateDetectorModelRequest |
withDetectorModelName(String detectorModelName)
The name of the detector model.
|
CreateDetectorModelRequest |
withEvaluationMethod(EvaluationMethod evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
|
CreateDetectorModelRequest |
withEvaluationMethod(String evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
|
CreateDetectorModelRequest |
withKey(String key)
The input attribute key used to identify a device or system to create a detector (an instance of the detector
model) and then to route each input received to the appropriate detector (instance).
|
CreateDetectorModelRequest |
withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
CreateDetectorModelRequest |
withTags(Collection<Tag> tags)
Metadata that can be used to manage the detector model.
|
CreateDetectorModelRequest |
withTags(Tag... tags)
Metadata that can be used to manage the detector model.
|
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 setDetectorModelName(String detectorModelName)
The name of the detector model.
detectorModelName
- The name of the detector model.public String getDetectorModelName()
The name of the detector model.
public CreateDetectorModelRequest withDetectorModelName(String detectorModelName)
The name of the detector model.
detectorModelName
- The name of the detector model.public void setDetectorModelDefinition(DetectorModelDefinition detectorModelDefinition)
Information that defines how the detectors operate.
detectorModelDefinition
- Information that defines how the detectors operate.public DetectorModelDefinition getDetectorModelDefinition()
Information that defines how the detectors operate.
public CreateDetectorModelRequest withDetectorModelDefinition(DetectorModelDefinition detectorModelDefinition)
Information that defines how the detectors operate.
detectorModelDefinition
- Information that defines how the detectors operate.public void setDetectorModelDescription(String detectorModelDescription)
A brief description of the detector model.
detectorModelDescription
- A brief description of the detector model.public String getDetectorModelDescription()
A brief description of the detector model.
public CreateDetectorModelRequest withDetectorModelDescription(String detectorModelDescription)
A brief description of the detector model.
detectorModelDescription
- A brief description of the detector model.public void setKey(String key)
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
key
- The input attribute key used to identify a device or system to create a detector (an instance of the
detector model) and then to route each input received to the appropriate detector (instance). This
parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value
pair that is used to identify the device associated with the input.public String getKey()
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
public CreateDetectorModelRequest withKey(String key)
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
key
- The input attribute key used to identify a device or system to create a detector (an instance of the
detector model) and then to route each input received to the appropriate detector (instance). This
parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value
pair that is used to identify the device associated with the input.public void setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform its operations.public String getRoleArn()
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
public CreateDetectorModelRequest withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform its operations.public List<Tag> getTags()
Metadata that can be used to manage the detector model.
public void setTags(Collection<Tag> tags)
Metadata that can be used to manage the detector model.
tags
- Metadata that can be used to manage the detector model.public CreateDetectorModelRequest withTags(Tag... tags)
Metadata that can be used to manage the detector model.
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
- Metadata that can be used to manage the detector model.public CreateDetectorModelRequest withTags(Collection<Tag> tags)
Metadata that can be used to manage the detector model.
tags
- Metadata that can be used to manage the detector model.public void setEvaluationMethod(String evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
evaluationMethod
- Information about the order in which events are evaluated and how actions are executed.EvaluationMethod
public String getEvaluationMethod()
Information about the order in which events are evaluated and how actions are executed.
EvaluationMethod
public CreateDetectorModelRequest withEvaluationMethod(String evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
evaluationMethod
- Information about the order in which events are evaluated and how actions are executed.EvaluationMethod
public CreateDetectorModelRequest withEvaluationMethod(EvaluationMethod evaluationMethod)
Information about the order in which events are evaluated and how actions are executed.
evaluationMethod
- Information about the order in which events are evaluated and how actions are executed.EvaluationMethod
public String toString()
toString
in class Object
Object.toString()
public CreateDetectorModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()