<p>
The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.
</p>

@return The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this
list.
1952
public java.util.List<String> getRemoveAllowedPrincipals() {
        if (removeAllowedPrincipals == null) {
            removeAllowedPrincipals = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return removeAllowedPrincipals;
    }
1119285
public java.util.List<String> getNames() {
        if (names == null) {
            names = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return names;
    }
988149
@Override
    public Set<Principal> getPrincipals(final HttpServletRequest request) {
        LOGGER.debug("Checking for principals using {}", ContainerRolesPrincipalProvider.class.getSimpleName());

        if (request == null) {
            LOGGER.debug("Servlet request was null");

            return emptySet();
        }

        if (roleNames == null) {
            LOGGER.debug("Role names Set was never initialized");

            return emptySet();
        }

        final Iterator<String> iterator = roleNames.iterator();
        final Set<Principal> principals = new HashSet<>();

        while (iterator.hasNext()) {
            final String role = iterator.next().trim();

            if (request.isUserInRole(role)) {
                LOGGER.debug("Adding container role as principal: {}", role);

                principals.add(new ContainerRolesPrincipal(role));
            }
        }

        return principals;
    }
599417
public java.util.List<String> getConfigure() {
        if (configure == null) {
            configure = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return configure;
    }
594655
protected String getAcePrincipalName(CmsObject cms, CmsUUID principalId) {

        if (CmsAccessControlEntry.PRINCIPAL_ALL_OTHERS_ID.equals(principalId)) {
            return CmsAccessControlEntry.PRINCIPAL_ALL_OTHERS_NAME;
        }
        if (CmsAccessControlEntry.PRINCIPAL_OVERWRITE_ALL_ID.equals(principalId)) {
            return CmsAccessControlEntry.PRINCIPAL_OVERWRITE_ALL_NAME;
        }
        CmsRole role = CmsRole.valueOfId(principalId);
        if (role != null) {
            return role.getRoleName();
        }
        try {
            return CmsPrincipal.readPrincipalIncludingHistory(cms, principalId).getName();
        } catch (CmsException e) {
            return "" + principalId;
        }
    }
850803
public java.util.List<String> getAlarmNames() {
        if (alarmNames == null) {
            alarmNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return alarmNames;
    }
622954
private String getDbInstanceResourceName() {
		String userArn = this.identityManagement.getUser().getUser().getArn();
		AmazonResourceName userResourceName = AmazonResourceName.fromString(userArn);
		AmazonResourceName dbResourceArn = new AmazonResourceName.Builder()
				.withService("rds").withRegion(getRegion())
				.withAccount(userResourceName.getAccount()).withResourceType("db")
				.withResourceName(getDbInstanceIdentifier())
				.withResourceTypeDelimiter(":").build();
		return dbResourceArn.toString();
	}
1374266
public java.util.List<String> getManagementCidrRanges() {
        if (managementCidrRanges == null) {
            managementCidrRanges = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return managementCidrRanges;
    }
750731
public java.util.List<HostReservation> getHostReservationSet() {
        if (hostReservationSet == null) {
            hostReservationSet = new com.amazonaws.internal.SdkInternalList<HostReservation>();
        }
        return hostReservationSet;
    }
251458
public List<RDN> rdns() {
        List<RDN> list = rdnList;
        if (list == null) {
            list = Collections.unmodifiableList(Arrays.asList(names));
            rdnList = list;
        }
        return list;
    }
254486
public java.util.List<String> getCapacityReservationIds() {
        if (capacityReservationIds == null) {
            capacityReservationIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return capacityReservationIds;
    }
574819
public java.util.List<TrustedAdvisorResourceDetail> getFlaggedResources() {
        if (flaggedResources == null) {
            flaggedResources = new com.amazonaws.internal.SdkInternalList<TrustedAdvisorResourceDetail>();
        }
        return flaggedResources;
    }
1321072
private List<Map<String, String>> marshall(IPermission[] data) {

        // Assertions.
        if (data == null) {
            String msg = "Argument 'data' cannot be null";
            throw new IllegalArgumentException(msg);
        }

        List<Map<String, String>> rslt = new ArrayList<Map<String, String>>(data.length);
        for (IPermission p : data) {
            JsonEntityBean bean = getEntityBean(p.getPrincipal());

            Map<String, String> entry = new HashMap<String, String>();
            entry.put("owner", p.getOwner());
            entry.put("principalType", bean.getEntityTypeAsString());
            entry.put("principalName", bean.getName());
            entry.put("principalKey", p.getPrincipal());
            entry.put("activity", p.getActivity());
            entry.put("target", p.getTarget());
            entry.put("permissionType", p.getType());

            /*
             *  Attempt to find a name for this target through the permission
             *  target provider registry.  If none can be found, just use
             *  the target key.
             */

            String targetName = null;
            try {
                // attempt to get the target provider for this activity
                IPermissionActivity activity =
                        permissionOwnerDao.getPermissionActivity(p.getOwner(), p.getActivity());
                entry.put("activityName", activity.getName());

                IPermissionOwner owner = permissionOwnerDao.getPermissionOwner(p.getOwner());
                entry.put("ownerName", owner.getName());

                String providerKey = activity.getTargetProviderKey();
                IPermissionTargetProvider provider =
                        targetProviderRegistry.getTargetProvider(providerKey);

                // get the target from the provider
                IPermissionTarget target = provider.getTarget(p.getTarget());
                targetName = target.getName();

            } catch (RuntimeException e) {
                // likely a result of a null activity or provider
                log.trace("Failed to resolve target name", e);
            }

            if (targetName == null) {
                targetName = p.getTarget();
            }
            entry.put("targetName", targetName);

            rslt.add(entry);
        }

        return rslt;
    }
1251862
public java.util.List<NetworkInterfacePermission> getNetworkInterfacePermissions() {
        if (networkInterfacePermissions == null) {
            networkInterfacePermissions = new com.amazonaws.internal.SdkInternalList<NetworkInterfacePermission>();
        }
        return networkInterfacePermissions;
    }
1260528
public java.util.List<String> getNetworkAclIds() {
        if (networkAclIds == null) {
            networkAclIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return networkAclIds;
    }
596706
public java.util.List<String> getRemoveNetworkLoadBalancerArns() {
        if (removeNetworkLoadBalancerArns == null) {
            removeNetworkLoadBalancerArns = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return removeNetworkLoadBalancerArns;
    }
528251
public java.util.List<String> getDomainNames() {
        if (domainNames == null) {
            domainNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return domainNames;
    }