code: public java.util.List<Alarm> getAlarms() {
          if (alarms == null) {
              alarms = new com.amazonaws.internal.SdkInternalList<Alarm>();
          }
          return alarms;
      }
docs: <p>
  The CloudWatch alarms related to the policy.
  </p>
  
  @return The CloudWatch alarms related to the policy.