@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alarms extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
Constructor and Description |
---|
Alarms() |
Modifier and Type | Method and Description |
---|---|
Alarms |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmRoleArn()
The ARN of the IAM role
that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT
Events.
|
String |
getNotificationLambdaArn()
The ARN of the Lambda
function that manages alarm notifications.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmRoleArn(String alarmRoleArn)
The ARN of the IAM role
that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT
Events.
|
void |
setNotificationLambdaArn(String notificationLambdaArn)
The ARN of the Lambda
function that manages alarm notifications.
|
String |
toString()
Returns a string representation of this object.
|
Alarms |
withAlarmRoleArn(String alarmRoleArn)
The ARN of the IAM role
that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT
Events.
|
Alarms |
withNotificationLambdaArn(String notificationLambdaArn)
The ARN of the Lambda
function that manages alarm notifications.
|
public void setAlarmRoleArn(String alarmRoleArn)
The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.
alarmRoleArn
- The ARN of the
IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services,
such as IoT Events.public String getAlarmRoleArn()
The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.
public Alarms withAlarmRoleArn(String alarmRoleArn)
The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.
alarmRoleArn
- The ARN of the
IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services,
such as IoT Events.public void setNotificationLambdaArn(String notificationLambdaArn)
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.
notificationLambdaArn
- The ARN of the
Lambda function that manages alarm notifications. For more information, see Managing alarm
notifications in the IoT Events Developer Guide.public String getNotificationLambdaArn()
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.
public Alarms withNotificationLambdaArn(String notificationLambdaArn)
The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.
notificationLambdaArn
- The ARN of the
Lambda function that manages alarm notifications. For more information, see Managing alarm
notifications in the IoT Events Developer Guide.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.