<p>
The CloudWatch alarms related to the policy.
</p>

@return The CloudWatch alarms related to the policy.
162257
public java.util.List<Alarm> getAlarms() {
        if (alarms == null) {
            alarms = new com.amazonaws.internal.SdkInternalList<Alarm>();
        }
        return alarms;
    }
969599
public java.util.List<ListenerDescription> getListenerDescriptions() {
        if (listenerDescriptions == null) {
            listenerDescriptions = new com.amazonaws.internal.SdkInternalList<ListenerDescription>();
        }
        return listenerDescriptions;
    }
331157
public List<ServiceMonitor> getServiceMonitors() {
        List<ServiceMonitor> serviceMonitors = new ArrayList<>();
        serviceMonitors.addAll(getDynamicServices(ServiceMonitor.class));
        return serviceMonitors;
    }
1041014
public java.util.List<String> getClusterStates() {
        if (clusterStates == null) {
            clusterStates = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return clusterStates;
    }
332581
public java.util.List<InputLogEvent> getLogEvents() {
        if (logEvents == null) {
            logEvents = new com.amazonaws.internal.SdkInternalList<InputLogEvent>();
        }
        return logEvents;
    }
1373000
public java.util.List<SecurityGroupReference> getSecurityGroupReferenceSet() {
        if (securityGroupReferenceSet == null) {
            securityGroupReferenceSet = new com.amazonaws.internal.SdkInternalList<SecurityGroupReference>();
        }
        return securityGroupReferenceSet;
    }
871924
public java.util.List<String> getScheduledInstanceIds() {
        if (scheduledInstanceIds == null) {
            scheduledInstanceIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return scheduledInstanceIds;
    }
1191892
public NotificationRecord[] fetchNotifications() {
        if (notifications.isEmpty()) {
            //Need to have a timedOut flag because of possible spurious wakeup
            final long timedOut = System.nanoTime() + deliveryInterval;

            synchronized (waitFlag) {
                while (notifications.isEmpty() && (System.nanoTime() < timedOut)) {
                    try {
                        waitFlag.wait(deliveryInterval / 1000000L);
                    } catch (InterruptedException e) {
                        //keep waiting until conditions aren't met anymore
                    }
                }
            }
        }

        NotificationRecord[] fetchedNotifications = null;

        if (!notifications.isEmpty()) {
            synchronized (notifications) {
                fetchedNotifications = notifications.toArray(new NotificationRecord[notifications.size()]);
                notifications.clear();
            }
        }

        //Update the timestamp
        lastAccessTimeStamp = System.nanoTime();

        return fetchedNotifications;
    }
637542
public java.util.List<EventDestination> getEventDestinations() {
        if (eventDestinations == null) {
            eventDestinations = new com.amazonaws.internal.SdkInternalList<EventDestination>();
        }
        return eventDestinations;
    }
1369720
public java.util.List<Role> getRoles() {
        if (roles == null) {
            roles = new com.amazonaws.internal.SdkInternalList<Role>();
        }
        return roles;
    }
1315345
public java.util.List<PolicyDetail> getGroupPolicyList() {
        if (groupPolicyList == null) {
            groupPolicyList = new com.amazonaws.internal.SdkInternalList<PolicyDetail>();
        }
        return groupPolicyList;
    }
1294107
public java.util.List<PolicyGroup> getPolicyGroups() {
        if (policyGroups == null) {
            policyGroups = new com.amazonaws.internal.SdkInternalList<PolicyGroup>();
        }
        return policyGroups;
    }
1260965
public java.util.List<EnhancedMetrics> getEnhancedMonitoring() {
        if (enhancedMonitoring == null) {
            enhancedMonitoring = new com.amazonaws.internal.SdkInternalList<EnhancedMetrics>();
        }
        return enhancedMonitoring;
    }
619167
public java.util.List<LifecycleHookSpecification> getLifecycleHookSpecificationList() {
        if (lifecycleHookSpecificationList == null) {
            lifecycleHookSpecificationList = new com.amazonaws.internal.SdkInternalList<LifecycleHookSpecification>();
        }
        return lifecycleHookSpecificationList;
    }
999497
public java.util.List<LogGroup> getLogGroups() {
        if (logGroups == null) {
            logGroups = new com.amazonaws.internal.SdkInternalList<LogGroup>();
        }
        return logGroups;
    }
409359
public java.util.List<InstanceCount> getInstanceCounts() {
        if (instanceCounts == null) {
            instanceCounts = new com.amazonaws.internal.SdkInternalList<InstanceCount>();
        }
        return instanceCounts;
    }
1259057
public java.util.List<TrustedAdvisorCheckDescription> getChecks() {
        if (checks == null) {
            checks = new com.amazonaws.internal.SdkInternalList<TrustedAdvisorCheckDescription>();
        }
        return checks;
    }