@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()
When set to
SERIAL , variables are updated and event conditions evaluated in the order that the
events are defined. |
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)
When set to
SERIAL , variables are updated and event conditions evaluated in the order that the
events are defined. |
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)
When set to
SERIAL , variables are updated and event conditions evaluated in the order that the
events are defined. |
CreateDetectorModelRequest |
withEvaluationMethod(String evaluationMethod)
When set to
SERIAL , variables are updated and event conditions evaluated in the order that the
events are defined. |
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 to specify the attribute-value pair in the message payload of each input 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 to specify the attribute-value pair in the message payload of each
input 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 to specify the attribute-value pair in the message payload of each input 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 to specify the attribute-value pair in the message payload of each input 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 to specify the attribute-value pair in the message payload of each
input 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)
When set to SERIAL
, variables are updated and event conditions evaluated in the order that the
events are defined. When set to BATCH
, variables are updated and events performed only after all
event conditions are evaluated.
evaluationMethod
- When set to SERIAL
, variables are updated and event conditions evaluated in the order that
the events are defined. When set to BATCH
, variables are updated and events performed only
after all event conditions are evaluated.EvaluationMethod
public String getEvaluationMethod()
When set to SERIAL
, variables are updated and event conditions evaluated in the order that the
events are defined. When set to BATCH
, variables are updated and events performed only after all
event conditions are evaluated.
SERIAL
, variables are updated and event conditions evaluated in the order that
the events are defined. When set to BATCH
, variables are updated and events performed only
after all event conditions are evaluated.EvaluationMethod
public CreateDetectorModelRequest withEvaluationMethod(String evaluationMethod)
When set to SERIAL
, variables are updated and event conditions evaluated in the order that the
events are defined. When set to BATCH
, variables are updated and events performed only after all
event conditions are evaluated.
evaluationMethod
- When set to SERIAL
, variables are updated and event conditions evaluated in the order that
the events are defined. When set to BATCH
, variables are updated and events performed only
after all event conditions are evaluated.EvaluationMethod
public CreateDetectorModelRequest withEvaluationMethod(EvaluationMethod evaluationMethod)
When set to SERIAL
, variables are updated and event conditions evaluated in the order that the
events are defined. When set to BATCH
, variables are updated and events performed only after all
event conditions are evaluated.
evaluationMethod
- When set to SERIAL
, variables are updated and event conditions evaluated in the order that
the events are defined. When set to BATCH
, variables are updated and events performed only
after all event conditions are evaluated.EvaluationMethod
public String toString()
toString
in class Object
Object.toString()
public CreateDetectorModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.