@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Monitor extends Object implements Serializable, Cloneable, StructuredPojo
Amazon CloudWatch alarms to monitor during the deployment process.
Constructor and Description |
---|
Monitor() |
Modifier and Type | Method and Description |
---|---|
Monitor |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmArn()
ARN of the Amazon CloudWatch alarm.
|
String |
getAlarmRoleArn()
ARN of an IAM role for AppConfig to monitor
AlarmArn . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmArn(String alarmArn)
ARN of the Amazon CloudWatch alarm.
|
void |
setAlarmRoleArn(String alarmRoleArn)
ARN of an IAM role for AppConfig to monitor
AlarmArn . |
String |
toString()
Returns a string representation of this object.
|
Monitor |
withAlarmArn(String alarmArn)
ARN of the Amazon CloudWatch alarm.
|
Monitor |
withAlarmRoleArn(String alarmRoleArn)
ARN of an IAM role for AppConfig to monitor
AlarmArn . |
public void setAlarmArn(String alarmArn)
ARN of the Amazon CloudWatch alarm.
alarmArn
- ARN of the Amazon CloudWatch alarm.public String getAlarmArn()
ARN of the Amazon CloudWatch alarm.
public Monitor withAlarmArn(String alarmArn)
ARN of the Amazon CloudWatch alarm.
alarmArn
- ARN of the Amazon CloudWatch alarm.public void setAlarmRoleArn(String alarmRoleArn)
ARN of an IAM role for AppConfig to monitor AlarmArn
.
alarmRoleArn
- ARN of an IAM role for AppConfig to monitor AlarmArn
.public String getAlarmRoleArn()
ARN of an IAM role for AppConfig to monitor AlarmArn
.
AlarmArn
.public Monitor withAlarmRoleArn(String alarmRoleArn)
ARN of an IAM role for AppConfig to monitor AlarmArn
.
alarmRoleArn
- ARN of an IAM role for AppConfig to monitor AlarmArn
.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.